Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.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.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01078/0.01078, allocations: 222 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.001166/0.001166, allocations: 181.1 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.937/3.937, allocations: 389.1 MB / 405.9 MB, free: 11.73 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 3.876/3.876, allocations: 472.3 MB / 0.9018 GB, free: 9.152 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.0004761, allocations: 15.94 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1315/0.132, allocations: 98.72 MB / 1.104 GB, free: 42.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.005068/0.1371, allocations: 4.553 MB / 1.108 GB, free: 37.54 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.005022/0.1421, allocations: 3.481 MB / 1.112 GB, free: 34.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003306/0.1425, allocations: 11.28 kB / 1.112 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007537/0.1433, allocations: 206.9 kB / 1.112 GB, free: 33.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001136/0.1444, allocations: 358.8 kB / 1.112 GB, free: 33.5 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006495/0.1451, allocations: 187.6 kB / 1.113 GB, free: 33.32 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.1461, allocations: 0.7553 MB / 1.113 GB, free: 32.56 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001344/0.1475, allocations: 0.7455 MB / 1.114 GB, free: 31.83 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.1478, allocations: 195.2 kB / 1.114 GB, free: 31.64 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003719/0.1482, allocations: 265.8 kB / 1.115 GB, free: 31.38 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.79e-05/0.1483, allocations: 20 kB / 1.115 GB, free: 31.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007975/0.1491, allocations: 319.5 kB / 1.115 GB, free: 31.05 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001386/0.1492, allocations: 143.6 kB / 1.115 GB, free: 30.91 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001011/0.1493, allocations: 109.5 kB / 1.115 GB, free: 30.79 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0007871/0.1501, allocations: 0.7586 MB / 1.116 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.738e-06/0.1502, allocations: 0 / 1.116 GB, free: 30.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.923e-06/0.1502, allocations: 3.938 kB / 1.116 GB, free: 30.03 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.1502, allocations: 0 / 1.116 GB, free: 30.03 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: 83 * Number of variables: 83 Notification: Performance of Generate backend data structure: time 0.001305/0.1515, allocations: 0.7627 MB / 1.117 GB, free: 29.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.1516, allocations: 11.97 kB / 1.117 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00345/0.155, allocations: 0.7237 MB / 1.117 GB, free: 28.48 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.1563, allocations: 0.5413 MB / 1.118 GB, free: 27.91 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.1563, allocations: 20.66 kB / 1.118 GB, free: 27.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.832e-05/0.1564, allocations: 28 kB / 1.118 GB, free: 27.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.1582, allocations: 0.8429 MB / 1.119 GB, free: 27 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.1583, allocations: 3.219 kB / 1.119 GB, free: 27 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.899e-05/0.1583, allocations: 15.98 kB / 1.119 GB, free: 26.98 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002288/0.1586, allocations: 72.5 kB / 1.119 GB, free: 26.91 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002365/0.161, allocations: 0.9394 MB / 1.12 GB, free: 25.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004372/0.1654, allocations: 2.942 MB / 1.123 GB, free: 22.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001809/0.1672, allocations: 0.5683 MB / 1.123 GB, free: 22.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008503/0.1681, allocations: 319.7 kB / 1.123 GB, free: 21.95 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001229/0.1682, allocations: 88.64 kB / 1.124 GB, free: 21.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1683, allocations: 38.75 kB / 1.124 GB, free: 21.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=22): time 3.195e-06/0.1683, allocations: 0 / 1.124 GB, free: 21.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=36): time 0.01593/0.1842, allocations: 4.078 MB / 1.128 GB, free: 17.75 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.1843, allocations: 81.11 kB / 1.128 GB, free: 17.65 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006292/0.1849, allocations: 457.5 kB / 1.128 GB, free: 17.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.418e-05/0.185, allocations: 29.7 kB / 1.128 GB, free: 17.17 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001509/0.1852, allocations: 240.2 kB / 1.128 GB, free: 16.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.1853, allocations: 126.2 kB / 1.128 GB, free: 16.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.1854, allocations: 4.906 kB / 1.128 GB, free: 16.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.84e-05/0.1855, allocations: 351.5 kB / 1.129 GB, free: 16.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001147/0.1867, allocations: 445 kB / 1.129 GB, free: 16.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.1879, allocations: 0.529 MB / 1.13 GB, free: 15.46 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.1891, allocations: 481.5 kB / 1.13 GB, free: 15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.747e-06/0.1891, allocations: 7.938 kB / 1.13 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.006825/0.1959, allocations: 1.917 MB / 1.132 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.041e-05/0.1961, allocations: 154.3 kB / 1.132 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.201e-06/0.1961, allocations: 4 kB / 1.132 GB, free: 12.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005581/0.2017, allocations: 1.086 MB / 1.133 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007151/0.2024, allocations: 136.1 kB / 1.133 GB, free: 11.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.214, allocations: 6.394 MB / 1.14 GB, free: 5.055 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009707/0.215, allocations: 119.4 kB / 1.14 GB, free: 4.941 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/0.2151, allocations: 16 kB / 1.14 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 9.629e-06/0.2151, allocations: 4 kB / 1.14 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005638/0.2207, allocations: 1.632 MB / 1.141 GB, free: 3.301 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/0.2208, allocations: 0 / 1.141 GB, free: 3.301 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003891/0.2247, allocations: 0.8042 MB / 1.142 GB, free: 2.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007588/0.2255, allocations: 135.8 kB / 1.142 GB, free: 2.367 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009932/0.2354, allocations: 5.568 MB / 1.148 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009958/0.2365, allocations: 111.9 kB / 1.148 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.467e-05/0.2366, allocations: 16 kB / 1.148 GB, free: 12.42 MB / 0.6198 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%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0005341/0.2371, allocations: 335 kB / 1.148 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001838/0.2373, allocations: 39.53 kB / 1.148 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006984/0.2443, allocations: 1.83 MB / 1.15 GB, free: 10.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.2444, allocations: 4 kB / 1.15 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.2444, allocations: 4 kB / 1.15 GB, free: 10.22 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.245e-05/0.2444, allocations: 3.984 kB / 1.15 GB, free: 10.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008345/0.2527, allocations: 2.577 MB / 1.153 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.585e-06/0.2528, allocations: 0 / 1.153 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005171/0.2533, allocations: 87.89 kB / 1.153 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005548/0.2589, allocations: 1.022 MB / 1.154 GB, free: 6.488 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.934e-05/0.259, allocations: 4 kB / 1.154 GB, free: 6.484 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01227/0.2713, allocations: 6.068 MB / 1.16 GB, free: 176 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.19e-06/0.2713, allocations: 3.938 kB / 1.16 GB, free: 172 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.4525/0.7238, allocations: 1.787 MB / 1.161 GB, free: 80.04 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004602/0.7243, allocations: 201.3 kB / 1.161 GB, free: 79.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.7245, allocations: 7.094 kB / 1.161 GB, free: 79.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008301/0.7253, allocations: 93.52 kB / 1.162 GB, free: 79.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000203/0.7255, allocations: 40.48 kB / 1.162 GB, free: 79.95 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/0.7256, allocations: 13.64 kB / 1.162 GB, free: 79.95 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005475/0.7262, allocations: 338.4 kB / 1.162 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.18e-07/0.7262, allocations: 0 / 1.162 GB, free: 79.88 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001441/0.7276, allocations: 287.1 kB / 1.162 GB, free: 79.88 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%) 8} * Non-linear torn systems: 1 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003357/0.728, allocations: 155.6 kB / 1.162 GB, free: 79.79 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.007951/0.736, allocations: 2.533 MB / 1.165 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/0.736, allocations: 0.875 kB / 1.165 GB, free: 79.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.003127/0.7391, allocations: 0.9844 MB / 1.166 GB, free: 79.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.7402, allocations: 126.4 kB / 1.166 GB, free: 79.09 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002854/0.7431, allocations: 1.436 MB / 1.167 GB, free: 78.6 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006319/0.7437, allocations: 0.9671 MB / 1.168 GB, free: 77.9 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007949/0.7446, allocations: 155.8 kB / 1.168 GB, free: 77.9 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001901/0.7448, allocations: 35.73 kB / 1.168 GB, free: 77.89 MB / 0.6198 GB Notification: Performance of SimCode: time 1.565e-06/0.7448, allocations: 7.672 kB / 1.168 GB, free: 77.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.03386/0.7786, allocations: 16.43 MB / 1.184 GB, free: 77.73 MB / 0.6198 GB