Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 107.5 kB / 16.41 MB, free: 6.457 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001225/0.001226, allocations: 192.3 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00237/0.00237, allocations: 290.9 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9405/0.9405, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001874/0.001874, allocations: 100.2 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4127/0.4146, allocations: 86.98 MB / 0.7671 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium): time 0.007703/0.4224, allocations: 5.147 MB / 0.7721 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005449/0.4279, allocations: 3.778 MB / 0.7758 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003405/0.4282, allocations: 15.94 kB / 0.7758 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001787/0.43, allocations: 0.5679 MB / 0.7763 GB, free: 10.39 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001125/0.4312, allocations: 475.1 kB / 0.7768 GB, free: 9.93 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000667/0.4318, allocations: 275.3 kB / 0.7771 GB, free: 9.66 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001114/0.433, allocations: 0.6892 MB / 0.7777 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007014/0.4337, allocations: 0.5315 MB / 0.7783 GB, free: 8.438 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005105/0.4342, allocations: 371.1 kB / 0.7786 GB, free: 8.074 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005047/0.4347, allocations: 302.9 kB / 0.7789 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.576e-05/0.4348, allocations: 44 kB / 0.7789 GB, free: 7.734 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000519/0.4353, allocations: 295.5 kB / 0.7792 GB, free: 7.445 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.4355, allocations: 167.6 kB / 0.7794 GB, free: 7.281 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002738/0.4358, allocations: 246.8 kB / 0.7796 GB, free: 7.039 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009304/0.4368, allocations: 0.8413 MB / 0.7804 GB, free: 6.195 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4368, allocations: 0 / 0.7804 GB, free: 6.195 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.302e-06/0.4368, allocations: 0 / 0.7804 GB, free: 6.195 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.4368, allocations: 4 kB / 0.7804 GB, free: 6.191 MB / 0.545 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.001474/0.4383, allocations: 0.8064 MB / 0.7812 GB, free: 5.336 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.4383, allocations: 12.03 kB / 0.7812 GB, free: 5.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002893/0.4412, allocations: 0.6788 MB / 0.7819 GB, free: 4.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007444/0.442, allocations: 468.4 kB / 0.7823 GB, free: 4.145 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.442, allocations: 25.02 kB / 0.7824 GB, free: 4.121 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.43e-05/0.4421, allocations: 32.12 kB / 0.7824 GB, free: 4.09 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/0.4437, allocations: 0.8239 MB / 0.7832 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.461e-05/0.4438, allocations: 0 / 0.7832 GB, free: 3.238 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/0.4438, allocations: 16 kB / 0.7832 GB, free: 3.223 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000182/0.444, allocations: 60.58 kB / 0.7833 GB, free: 3.164 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0021/0.4461, allocations: 0.9232 MB / 0.7842 GB, free: 2.242 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003774/0.4499, allocations: 2.851 MB / 0.787 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/0.4516, allocations: 0.5526 MB / 0.7875 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007362/0.4523, allocations: 300.6 kB / 0.7878 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001021/0.4524, allocations: 85.09 kB / 0.7879 GB, free: 14.22 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4525, allocations: 38.56 kB / 0.7879 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=22): time 1.623e-06/0.4525, allocations: 0 / 0.7879 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=36): time 0.01353/0.466, allocations: 3.779 MB / 0.7916 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.4661, allocations: 59.41 kB / 0.7917 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004741/0.4666, allocations: 433.5 kB / 0.7921 GB, free: 9.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.966e-05/0.4666, allocations: 29.7 kB / 0.7921 GB, free: 9.816 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.4668, allocations: 240.2 kB / 0.7923 GB, free: 9.578 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.4669, allocations: 118.2 kB / 0.7924 GB, free: 9.461 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.4671, allocations: 86.11 kB / 0.7925 GB, free: 9.371 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4672, allocations: 350.8 kB / 0.7929 GB, free: 9.02 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/0.4682, allocations: 426.2 kB / 0.7933 GB, free: 8.602 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.4693, allocations: 0.4891 MB / 0.7937 GB, free: 8.078 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001989/0.4713, allocations: 0.8999 MB / 0.7946 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4713, allocations: 0 / 0.7946 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.005645/0.4769, allocations: 1.815 MB / 0.7964 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.891e-05/0.477, allocations: 11.92 kB / 0.7964 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.477, allocations: 8.188 kB / 0.7964 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004212/0.4812, allocations: 0.9689 MB / 0.7974 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005897/0.4818, allocations: 119.8 kB / 0.7975 GB, free: 4.211 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/0.4919, allocations: 6.651 MB / 0.804 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008156/0.4928, allocations: 99.83 kB / 0.8041 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.388e-05/0.4928, allocations: 19.98 kB / 0.8041 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001197/0.494, allocations: 0.6099 MB / 0.8047 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009984/0.495, allocations: 488.6 kB / 0.8051 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001929/0.497, allocations: 0.8744 MB / 0.806 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.497, allocations: 0 / 0.806 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=47) (initialization_lambda0): time 0.004915/0.5019, allocations: 1.59 MB / 0.8076 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.5019, allocations: 8 kB / 0.8076 GB, free: 9.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.502, allocations: 4 kB / 0.8076 GB, free: 9.527 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002939/0.5049, allocations: 0.6962 MB / 0.8082 GB, free: 8.824 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006186/0.5055, allocations: 127.8 kB / 0.8084 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007873/0.5134, allocations: 5.821 MB / 0.814 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/0.5142, allocations: 107.9 kB / 0.8142 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.033e-05/0.5143, allocations: 19.98 kB / 0.8142 GB, free: 2.473 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0001984/0.5145, allocations: 203.1 kB / 0.8144 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/0.5146, allocations: 39.53 kB / 0.8144 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00523/0.5198, allocations: 1.716 MB / 0.8161 GB, free: 0.4961 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.5199, allocations: 7.984 kB / 0.8161 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.5199, allocations: 0 / 0.8161 GB, free: 500 kB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002384/0.5201, allocations: 184.6 kB / 0.8163 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.05e-05/0.5202, allocations: 8 kB / 0.8163 GB, free: 288 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006198/0.5208, allocations: 87.8 kB / 0.8164 GB, free: 200 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.521, allocations: 39.92 kB / 0.8164 GB, free: 160 kB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004324/0.5253, allocations: 1.524 MB / 0.8179 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002607/0.5279, allocations: 1.377 MB / 0.8192 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008268/0.5288, allocations: 399.6 kB / 0.8196 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003896/0.5292, allocations: 323.3 kB / 0.8199 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of Backend: time 3.3e-07/0.5292, allocations: 3.938 kB / 0.8199 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00626/0.5355, allocations: 2.302 MB / 0.8222 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of SimCode: time 0.001964/0.5374, allocations: 1.617 MB / 0.8237 GB, free: 8.492 MB / 0.5919 GB Notification: Performance of Templates: time 0.02619/0.5636, allocations: 18.27 MB / 0.8416 GB, free: 6.383 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGridMedium.pipe 2>&1)