Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.969/4.969, allocations: 0.5623 GB / 0.5769 GB, free: 3.375 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003876/0.003876, allocations: 365.9 kB / 0.6441 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.288/4.288, allocations: 410.7 MB / 1.112 GB, free: 5.934 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001831/0.001831, allocations: 174.5 kB / 1.225 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004985/0.0004988, allocations: 16 kB / 1.348 GB, free: 8.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6414/0.6419, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03295/0.6749, allocations: 24.2 MB / 1.484 GB, free: 260.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01296/0.688, allocations: 7.692 MB / 1.492 GB, free: 252.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.6906, allocations: 100.2 kB / 1.492 GB, free: 252.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.00176/0.6924, allocations: 488.2 kB / 1.492 GB, free: 251.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.004534/0.697, allocations: 1.409 MB / 1.494 GB, free: 250.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.003741/0.7007, allocations: 1.004 MB / 1.495 GB, free: 249.4 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.007088/0.7078, allocations: 6.908 MB / 1.502 GB, free: 242.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01392/0.7218, allocations: 8.167 MB / 1.51 GB, free: 234.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003192/0.725, allocations: 1.844 MB / 1.511 GB, free: 232.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003589/0.7287, allocations: 2.403 MB / 1.514 GB, free: 230.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006299/0.7293, allocations: 212 kB / 1.514 GB, free: 230.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002045/0.7314, allocations: 0.5967 MB / 1.514 GB, free: 229.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001815/0.7332, allocations: 1.664 MB / 1.516 GB, free: 228 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001146/0.7344, allocations: 0.8005 MB / 1.517 GB, free: 227.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.00666/0.7411, allocations: 6.625 MB / 1.523 GB, free: 220.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.647e-06/0.7411, allocations: 0 / 1.523 GB, free: 220.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.632e-06/0.7411, allocations: 0 / 1.523 GB, free: 220.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0001407/0.7413, allocations: 0 / 1.523 GB, free: 220.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007104/0.7484, allocations: 3.46 MB / 1.527 GB, free: 217 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.7484, allocations: 11.62 kB / 1.527 GB, free: 217 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005488/0.7539, allocations: 0.8342 MB / 1.528 GB, free: 216.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005282/0.7593, allocations: 2.362 MB / 1.53 GB, free: 213.7 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002425/0.7596, allocations: 279.2 kB / 1.53 GB, free: 213.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001088/0.7607, allocations: 371.9 kB / 1.53 GB, free: 213.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.7725, allocations: 5.961 MB / 1.536 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001248/0.7727, allocations: 15.84 kB / 1.536 GB, free: 206.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005022/0.7732, allocations: 164 kB / 1.536 GB, free: 206.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005855/0.7738, allocations: 282.8 kB / 1.537 GB, free: 206.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009957/0.7838, allocations: 4.492 MB / 1.541 GB, free: 201.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02873/0.8125, allocations: 27.69 MB / 1.568 GB, free: 171.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/0.8146, allocations: 1.13 MB / 1.569 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001599/0.8162, allocations: 1.015 MB / 1.57 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 8.425e-05/0.8163, allocations: 13 kB / 1.57 GB, free: 169.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.8163, allocations: 47.55 kB / 1.57 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=110): time 4.737e-06/0.8164, allocations: 0 / 1.57 GB, free: 169.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=131): time 0.02408/0.8405, allocations: 9.654 MB / 1.58 GB, free: 159.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/0.8405, allocations: 68.72 kB / 1.58 GB, free: 159.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002161/0.8427, allocations: 1.482 MB / 1.581 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0002171/0.8429, allocations: 53.7 kB / 1.581 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008926/0.8438, allocations: 1.667 MB / 1.583 GB, free: 156.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004093/0.8443, allocations: 473.2 kB / 1.583 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.8444, allocations: 36 kB / 1.583 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.8445, allocations: 373.9 kB / 1.584 GB, free: 155.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.8462, allocations: 0.9096 MB / 1.585 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.848, allocations: 1.459 MB / 1.586 GB, free: 152.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001935/0.85, allocations: 1.146 MB / 1.587 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.103e-05/0.85, allocations: 4 kB / 1.587 GB, free: 151.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006838/0.8569, allocations: 3.274 MB / 1.59 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.8569, allocations: 12 kB / 1.59 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.517e-05/0.857, allocations: 16 kB / 1.59 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002867/0.8599, allocations: 0.7337 MB / 1.591 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001985/0.8619, allocations: 395.3 kB / 1.592 GB, free: 147.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01542/0.8773, allocations: 15.75 MB / 1.607 GB, free: 130.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/0.8791, allocations: 99.89 kB / 1.607 GB, free: 130.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002088/0.8793, allocations: 79.95 kB / 1.607 GB, free: 130.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002363/0.8817, allocations: 1.317 MB / 1.608 GB, free: 128.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.8822, allocations: 197.7 kB / 1.609 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005785/0.888, allocations: 2.773 MB / 1.611 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.888, allocations: 19.98 kB / 1.611 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-05/0.888, allocations: 7.953 kB / 1.611 GB, free: 125.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/0.8881, allocations: 11.97 kB / 1.611 GB, free: 125.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01245/0.9005, allocations: 6.201 MB / 1.617 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.495e-05/0.9006, allocations: 8 kB / 1.617 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001511/0.9021, allocations: 231.6 kB / 1.618 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002565/0.9047, allocations: 0.6714 MB / 1.618 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002129/0.905, allocations: 32 kB / 1.618 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01496/0.9199, allocations: 15.5 MB / 1.633 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.697e-06/0.92, allocations: 7.953 kB / 1.633 GB, free: 101.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007372/0.9274, allocations: 3.997 MB / 1.637 GB, free: 97.58 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/0.9285, allocations: 462.5 kB / 1.638 GB, free: 97.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/0.9289, allocations: 35.94 kB / 1.638 GB, free: 97.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/0.93, allocations: 83.89 kB / 1.638 GB, free: 96.99 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003149/0.9303, allocations: 116.8 kB / 1.638 GB, free: 96.88 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001311/0.9305, allocations: 36 kB / 1.638 GB, free: 96.84 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001551/0.9321, allocations: 0.9747 MB / 1.639 GB, free: 95.88 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9.88e-07/0.9321, allocations: 7.938 kB / 1.639 GB, free: 95.87 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002801/0.9349, allocations: 0.6875 MB / 1.64 GB, free: 95.18 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003134/0.9352, allocations: 151 kB / 1.64 GB, free: 95.03 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.005854/0.9411, allocations: 3.487 MB / 1.643 GB, free: 91.43 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.57e-06/0.9411, allocations: 0 / 1.643 GB, free: 91.43 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.003622/0.9448, allocations: 2.292 MB / 1.645 GB, free: 89.02 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003654/0.9485, allocations: 0.6151 MB / 1.646 GB, free: 88.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/0.9612, allocations: 7.825 MB / 1.654 GB, free: 80.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003558/0.9648, allocations: 2.742 MB / 1.656 GB, free: 77.73 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002127/0.9669, allocations: 485.4 kB / 1.657 GB, free: 77.25 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004381/0.9674, allocations: 119.4 kB / 1.657 GB, free: 77.14 MB / 0.8542 GB Notification: Performance of SimCode: time 1.762e-06/0.9674, allocations: 0 / 1.657 GB, free: 77.14 MB / 0.8542 GB Notification: Performance of Templates: time 0.06911/1.037, allocations: 31.2 MB / 1.687 GB, free: 46.52 MB / 0.8542 GB