Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01875/0.01876, allocations: 221 kB / 15.17 MB, free: 5.93 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001122/0.001122, allocations: 183 kB / 16.06 MB, free: 5.828 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.57/3.57, allocations: 389.1 MB / 405.9 MB, free: 11.74 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.161/4.161, allocations: 472.3 MB / 0.9018 GB, free: 9.223 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005027, allocations: 19.94 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.1352, allocations: 98.72 MB / 1.104 GB, free: 42 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACSimpleGrid): time 0.004521/0.1397, allocations: 3.823 MB / 1.108 GB, free: 38.15 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004541/0.1443, allocations: 3.011 MB / 1.111 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003478/0.1447, allocations: 7.938 kB / 1.111 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0005862/0.1453, allocations: 150.2 kB / 1.111 GB, free: 34.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001176/0.1465, allocations: 310.2 kB / 1.111 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.1471, allocations: 171.5 kB / 1.111 GB, free: 34.52 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0007428/0.1479, allocations: 0.6533 MB / 1.112 GB, free: 33.87 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00138/0.1493, allocations: 0.7299 MB / 1.113 GB, free: 33.15 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003147/0.1496, allocations: 179.2 kB / 1.113 GB, free: 32.97 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.15, allocations: 247 kB / 1.113 GB, free: 32.73 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.469e-05/0.1501, allocations: 16 kB / 1.113 GB, free: 32.72 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008328/0.1509, allocations: 227.6 kB / 1.113 GB, free: 32.5 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0002058/0.1512, allocations: 135.6 kB / 1.113 GB, free: 32.36 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.1513, allocations: 109.5 kB / 1.114 GB, free: 32.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0008116/0.1522, allocations: 0.6627 MB / 1.114 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.958e-06/0.1522, allocations: 0 / 1.114 GB, free: 31.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.209e-06/0.1522, allocations: 4 kB / 1.114 GB, free: 31.58 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.801e-06/0.1522, allocations: 3.312 kB / 1.114 GB, free: 31.58 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.001216/0.1534, allocations: 0.7167 MB / 1.115 GB, free: 30.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1535, allocations: 10.97 kB / 1.115 GB, free: 30.8 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00324/0.1567, allocations: 0.7021 MB / 1.116 GB, free: 30.1 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009181/0.1577, allocations: 469.3 kB / 1.116 GB, free: 29.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.751e-05/0.1577, allocations: 24.64 kB / 1.116 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.629e-05/0.1578, allocations: 28 kB / 1.116 GB, free: 29.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001692/0.1595, allocations: 0.793 MB / 1.117 GB, free: 28.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.247e-05/0.1596, allocations: 4 kB / 1.117 GB, free: 28.74 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.818e-05/0.1597, allocations: 8 kB / 1.117 GB, free: 28.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001414/0.1598, allocations: 57.53 kB / 1.117 GB, free: 28.68 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002229/0.1621, allocations: 0.8816 MB / 1.118 GB, free: 27.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00425/0.1664, allocations: 2.865 MB / 1.121 GB, free: 24.72 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001756/0.1682, allocations: 0.5249 MB / 1.121 GB, free: 24.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007758/0.169, allocations: 268 kB / 1.121 GB, free: 23.93 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001175/0.1691, allocations: 89.09 kB / 1.121 GB, free: 23.83 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.982e-05/0.1691, allocations: 30.56 kB / 1.121 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 3.48e-06/0.1691, allocations: 1.125 kB / 1.121 GB, free: 23.79 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24): time 0.01252/0.1817, allocations: 3.214 MB / 1.125 GB, free: 20.58 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.1817, allocations: 84.97 kB / 1.125 GB, free: 20.48 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005532/0.1823, allocations: 413.6 kB / 1.125 GB, free: 20.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.723e-05/0.1824, allocations: 33.7 kB / 1.125 GB, free: 20.04 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001453/0.1825, allocations: 243.7 kB / 1.125 GB, free: 19.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.172e-05/0.1826, allocations: 79.77 kB / 1.125 GB, free: 19.72 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.1827, allocations: 8 kB / 1.125 GB, free: 19.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.1828, allocations: 340.1 kB / 1.126 GB, free: 19.37 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.1838, allocations: 367.1 kB / 1.126 GB, free: 19.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001047/0.1849, allocations: 441.3 kB / 1.127 GB, free: 18.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.1859, allocations: 392.4 kB / 1.127 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.456e-06/0.1859, allocations: 4.688 kB / 1.127 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.005604/0.1916, allocations: 1.537 MB / 1.128 GB, free: 16.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.294e-05/0.1917, allocations: 154.2 kB / 1.129 GB, free: 16.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.986e-06/0.1917, allocations: 7.938 kB / 1.129 GB, free: 16.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004301/0.196, allocations: 0.8429 MB / 1.129 GB, free: 15.62 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007422/0.1968, allocations: 135.5 kB / 1.13 GB, free: 15.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007203/0.204, allocations: 4.663 MB / 1.134 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009062/0.205, allocations: 127.1 kB / 1.134 GB, free: 10.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.82e-05/0.205, allocations: 15.98 kB / 1.134 GB, free: 10.45 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.05e-05/0.2051, allocations: 7.938 kB / 1.134 GB, free: 10.44 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004626/0.2097, allocations: 1.257 MB / 1.135 GB, free: 9.195 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.2097, allocations: 4 kB / 1.135 GB, free: 9.191 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00281/0.2126, allocations: 0.5492 MB / 1.136 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007649/0.2134, allocations: 145.3 kB / 1.136 GB, free: 8.504 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003853/0.2172, allocations: 2.506 MB / 1.139 GB, free: 5.871 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/0.2181, allocations: 111.9 kB / 1.139 GB, free: 5.762 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/0.2182, allocations: 15.98 kB / 1.139 GB, free: 5.746 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003694/0.2186, allocations: 317.8 kB / 1.139 GB, free: 5.426 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001058/0.2187, allocations: 43.39 kB / 1.139 GB, free: 5.387 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/0.2238, allocations: 1.422 MB / 1.14 GB, free: 3.965 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.2238, allocations: 0 / 1.14 GB, free: 3.965 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.508e-06/0.2239, allocations: 5.906 kB / 1.14 GB, free: 3.961 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.667e-06/0.2239, allocations: 1.172 kB / 1.14 GB, free: 3.961 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006093/0.23, allocations: 2.088 MB / 1.142 GB, free: 1.816 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.492e-06/0.23, allocations: 7.188 kB / 1.142 GB, free: 1.812 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004788/0.2305, allocations: 79.84 kB / 1.143 GB, free: 1.734 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003915/0.2344, allocations: 0.7906 MB / 1.143 GB, free: 0.9492 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.646e-05/0.2346, allocations: 11.98 kB / 1.143 GB, free: 0.9375 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007848/0.2424, allocations: 4.49 MB / 1.148 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.816e-06/0.2425, allocations: 4.031 kB / 1.148 GB, free: 12.19 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005487/0.248, allocations: 1.431 MB / 1.149 GB, free: 10.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/0.2484, allocations: 164.7 kB / 1.149 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.51e-05/0.2485, allocations: 12.7 kB / 1.149 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007417/0.2493, allocations: 99.22 kB / 1.149 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001498/0.2495, allocations: 27.84 kB / 1.149 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.2495, allocations: 11.98 kB / 1.149 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000513/0.25, allocations: 311.1 kB / 1.15 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.89e-07/0.2501, allocations: 2.156 kB / 1.15 GB, free: 10.12 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0011/0.2512, allocations: 204 kB / 1.15 GB, free: 9.918 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 2} * Non-linear torn systems: 1 {2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002593/0.2514, allocations: 120 kB / 1.15 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.004867/0.2563, allocations: 1.629 MB / 1.152 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.2564, allocations: 0 / 1.152 GB, free: 8.145 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00173/0.2581, allocations: 0.6766 MB / 1.152 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009355/0.2591, allocations: 115.9 kB / 1.152 GB, free: 7.348 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002642/0.2618, allocations: 1.221 MB / 1.154 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007817/0.2626, allocations: 0.9252 MB / 1.154 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007765/0.2634, allocations: 152.1 kB / 1.155 GB, free: 5.039 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.2636, allocations: 35.41 kB / 1.155 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of SimCode: time 1.688e-06/0.2636, allocations: 0 / 1.155 GB, free: 5.004 MB / 0.6198 GB Notification: Performance of Templates: time 0.489/0.7526, allocations: 11.91 MB / 1.166 GB, free: 79.88 MB / 0.6198 GB