Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.01084/0.01084, allocations: 222.3 kB / 15.17 MB, free: 5.926 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.001112/0.001112, allocations: 176 kB / 16.06 MB, free: 5.832 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.93/3.93, allocations: 389.1 MB / 405.9 MB, free: 14.22 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 3.87/3.87, allocations: 472.3 MB / 0.9018 GB, free: 107.8 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.0004697/0.00047, allocations: 15.28 kB / 1.008 GB, free: 54.62 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1438/0.1443, allocations: 98.72 MB / 1.104 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid): time 0.0158/0.1601, allocations: 10.67 MB / 1.114 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.01001/0.1702, allocations: 5 MB / 1.119 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001066/0.1713, allocations: 28.47 kB / 1.119 GB, free: 6.277 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0009817/0.1723, allocations: 294.9 kB / 1.12 GB, free: 5.988 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.002288/0.1746, allocations: 0.6376 MB / 1.12 GB, free: 5.355 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.002199/0.1768, allocations: 0.5677 MB / 1.121 GB, free: 4.789 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.003843/0.1807, allocations: 2.791 MB / 1.124 GB, free: 1.992 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007018/0.1877, allocations: 3.625 MB / 1.127 GB, free: 14.39 MB / 0.5417 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.1892, allocations: 0.7083 MB / 1.128 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.1909, allocations: 1.012 MB / 1.129 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of NFPackage.collectConstants: time 0.0002684/0.1912, allocations: 92 kB / 1.129 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.1923, allocations: 303.5 kB / 1.129 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of NFScalarize.scalarize: time 0.0009273/0.1932, allocations: 0.7209 MB / 1.13 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of NFVerifyModel.verify: time 0.0004892/0.1937, allocations: 348.9 kB / 1.13 GB, free: 11.2 MB / 0.5417 GB Notification: Performance of NFConvertDAE.convert: time 0.003849/0.1976, allocations: 3.008 MB / 1.133 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 6.655e-06/0.1976, allocations: 0 / 1.133 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.502e-06/0.1976, allocations: 4 kB / 1.133 GB, free: 8.184 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.5e-05/0.1977, allocations: 4 kB / 1.133 GB, free: 8.18 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.003903/0.2016, allocations: 1.636 MB / 1.135 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.2017, allocations: 8.031 kB / 1.135 GB, free: 6.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003326/0.205, allocations: 0.4937 MB / 1.135 GB, free: 5.984 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002934/0.208, allocations: 1.131 MB / 1.136 GB, free: 4.812 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001439/0.2082, allocations: 119 kB / 1.136 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004726/0.2087, allocations: 155.9 kB / 1.137 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006329/0.215, allocations: 2.731 MB / 1.139 GB, free: 1.746 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.634e-05/0.2151, allocations: 11.89 kB / 1.139 GB, free: 1.734 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002465/0.2153, allocations: 60 kB / 1.139 GB, free: 1.676 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004294/0.2158, allocations: 178.9 kB / 1.139 GB, free: 1.5 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005242/0.221, allocations: 2.28 MB / 1.142 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01663/0.2377, allocations: 10.53 MB / 1.152 GB, free: 3.801 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00138/0.2391, allocations: 0.5804 MB / 1.153 GB, free: 3.211 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008259/0.24, allocations: 388.5 kB / 1.153 GB, free: 2.828 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001606/0.2401, allocations: 85.11 kB / 1.153 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.2402, allocations: 38.56 kB / 1.153 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=36): time 5.967e-06/0.2402, allocations: 4 kB / 1.153 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of matching and sorting (n=52): time 0.02491/0.2651, allocations: 6.276 MB / 1.159 GB, free: 12.34 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.2653, allocations: 85.55 kB / 1.159 GB, free: 12.24 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/0.2669, allocations: 0.8945 MB / 1.16 GB, free: 11.34 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001328/0.2671, allocations: 37.7 kB / 1.16 GB, free: 11.29 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007045/0.2678, allocations: 0.7577 MB / 1.161 GB, free: 10.52 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002344/0.268, allocations: 181.4 kB / 1.161 GB, free: 10.34 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.948e-05/0.2681, allocations: 20 kB / 1.161 GB, free: 10.32 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002552/0.2684, allocations: 390.8 kB / 1.161 GB, free: 9.934 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001439/0.2699, allocations: 0.6382 MB / 1.162 GB, free: 9.293 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001744/0.2716, allocations: 1.011 MB / 1.163 GB, free: 8.113 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.2734, allocations: 0.8063 MB / 1.164 GB, free: 7.309 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-05/0.2734, allocations: 4 kB / 1.164 GB, free: 7.305 MB / 0.573 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01127/0.2847, allocations: 3.217 MB / 1.167 GB, free: 4.062 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004012/0.2851, allocations: 435.4 kB / 1.167 GB, free: 3.477 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.2851, allocations: 8 kB / 1.167 GB, free: 3.469 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009617/0.2948, allocations: 1.86 MB / 1.169 GB, free: 1.594 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.2959, allocations: 219.7 kB / 1.169 GB, free: 1.379 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01929/0.3152, allocations: 10.23 MB / 1.179 GB, free: 6.609 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/0.3169, allocations: 175.7 kB / 1.18 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/0.3171, allocations: 43.98 kB / 1.18 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3171, allocations: 7.938 kB / 1.18 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009156/0.3263, allocations: 2.618 MB / 1.182 GB, free: 3.762 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.784e-05/0.3264, allocations: 12 kB / 1.182 GB, free: 3.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006548/0.3329, allocations: 1.203 MB / 1.183 GB, free: 2.539 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.3342, allocations: 247.6 kB / 1.184 GB, free: 2.297 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01048/0.3447, allocations: 5.543 MB / 1.189 GB, free: 12.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001412/0.3462, allocations: 155.8 kB / 1.189 GB, free: 12.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001432/0.3464, allocations: 39.98 kB / 1.189 GB, free: 12.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.001626/0.348, allocations: 0.8439 MB / 1.19 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002643/0.3483, allocations: 79.06 kB / 1.19 GB, free: 11.37 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009923/0.3582, allocations: 2.68 MB / 1.193 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.351e-05/0.3583, allocations: 8 kB / 1.193 GB, free: 8.645 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.3583, allocations: 4 kB / 1.193 GB, free: 8.641 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.871e-05/0.3583, allocations: 7.938 kB / 1.193 GB, free: 8.633 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01375/0.3721, allocations: 4.632 MB / 1.197 GB, free: 3.879 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.58e-05/0.3721, allocations: 4 kB / 1.197 GB, free: 3.875 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005547/0.3727, allocations: 104.1 kB / 1.197 GB, free: 3.773 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0133/0.386, allocations: 1.708 MB / 1.199 GB, free: 2.051 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001942/0.3863, allocations: 12 kB / 1.199 GB, free: 2.039 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02915/0.4154, allocations: 9.766 MB / 1.209 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.102e-06/0.4155, allocations: 0 / 1.209 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0174/0.4329, allocations: 2.648 MB / 1.211 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00124/0.4342, allocations: 280.1 kB / 1.211 GB, free: 4.742 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003077/0.4345, allocations: 12 kB / 1.212 GB, free: 4.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/0.4365, allocations: 139.7 kB / 1.212 GB, free: 4.594 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000402/0.4369, allocations: 43.94 kB / 1.212 GB, free: 4.551 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.4371, allocations: 20 kB / 1.212 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002047/0.4392, allocations: 0.6356 MB / 1.212 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.43e-06/0.4392, allocations: 0 / 1.212 GB, free: 3.902 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004882/0.4441, allocations: 0.582 MB / 1.213 GB, free: 3.32 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004314/0.4446, allocations: 139.1 kB / 1.213 GB, free: 3.176 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.01182/0.4564, allocations: 3.235 MB / 1.216 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/0.4565, allocations: 0 / 1.216 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.004775/0.4613, allocations: 1.268 MB / 1.217 GB, free: 14.55 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003292/0.4646, allocations: 226.3 kB / 1.218 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/0.4799, allocations: 3.535 MB / 1.221 GB, free: 10.74 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004652/0.4846, allocations: 1.649 MB / 1.223 GB, free: 9.059 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002342/0.487, allocations: 0.4908 MB / 1.223 GB, free: 8.562 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002277/0.4872, allocations: 51.44 kB / 1.223 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of SimCode: time 1.657e-06/0.4873, allocations: 0 / 1.223 GB, free: 8.512 MB / 0.6355 GB Notification: Performance of Templates: time 0.05274/0.54, allocations: 23.32 MB / 1.246 GB, free: 1.324 MB / 0.6511 GB