Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 105.9 kB / 16.27 MB, free: 6.348 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.001189/0.001189, allocations: 187.6 kB / 17.2 MB, free: 5.949 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002439/0.002439, allocations: 287.6 kB / 291.3 MB, free: 14.54 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.194/1.194, allocations: 178.5 MB / 0.5079 GB, free: 12.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002789/0.002789, allocations: 100.1 kB / 0.6071 GB, free: 9.277 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.1757, allocations: 89.13 MB / 0.6942 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01491/0.1907, allocations: 11.09 MB / 0.705 GB, free: 4.926 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.277/0.4677, allocations: 5.774 MB / 0.7106 GB, free: 38.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.4689, allocations: 54.5 kB / 0.7107 GB, free: 38.41 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.003688/0.4726, allocations: 1.719 MB / 0.7124 GB, free: 38.41 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002516/0.4751, allocations: 1.142 MB / 0.7135 GB, free: 38.36 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001758/0.4769, allocations: 0.8118 MB / 0.7143 GB, free: 38.33 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002057/0.4789, allocations: 2.127 MB / 0.7163 GB, free: 38 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001187/0.4801, allocations: 1.311 MB / 0.7176 GB, free: 37.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007011/0.4809, allocations: 0.8393 MB / 0.7184 GB, free: 37.67 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007965/0.4817, allocations: 0.9034 MB / 0.7193 GB, free: 37.49 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001558/0.4818, allocations: 113.4 kB / 0.7194 GB, free: 37.49 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001745/0.4836, allocations: 1.181 MB / 0.7206 GB, free: 37.38 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003596/0.4839, allocations: 0.5306 MB / 0.7211 GB, free: 37.31 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005462/0.4845, allocations: 0.785 MB / 0.7219 GB, free: 36.93 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001832/0.4863, allocations: 2.39 MB / 0.7242 GB, free: 36.19 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.4864, allocations: 3.188 kB / 0.7242 GB, free: 36.19 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4864, allocations: 0 / 0.7242 GB, free: 36.19 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.325e-05/0.4864, allocations: 0 / 0.7242 GB, free: 36.19 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: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002173/0.4886, allocations: 1.863 MB / 0.726 GB, free: 35.02 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.4886, allocations: 9.5 kB / 0.726 GB, free: 35.02 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004061/0.4927, allocations: 0.6697 MB / 0.7267 GB, free: 34.89 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.4938, allocations: 0.9214 MB / 0.7276 GB, free: 34.36 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.214e-05/0.4938, allocations: 88.8 kB / 0.7277 GB, free: 34.32 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.494, allocations: 128 kB / 0.7278 GB, free: 34.29 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002248/0.4963, allocations: 2.204 MB / 0.73 GB, free: 33.08 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.754e-05/0.4963, allocations: 25.28 kB / 0.73 GB, free: 33.06 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.4964, allocations: 57.03 kB / 0.73 GB, free: 33.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001561/0.4966, allocations: 160.5 kB / 0.7302 GB, free: 33.01 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00233/0.4989, allocations: 1.87 MB / 0.732 GB, free: 32.36 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008422/0.5074, allocations: 12.48 MB / 0.7442 GB, free: 21.91 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003753/0.5112, allocations: 1.962 MB / 0.7461 GB, free: 21.35 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006545/0.5118, allocations: 0.6081 MB / 0.7467 GB, free: 21.14 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001272/0.512, allocations: 104.3 kB / 0.7468 GB, free: 21.04 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.921e-05/0.512, allocations: 42.56 kB / 0.7469 GB, free: 21 MB / 0.545 GB Notification: Performance of pre-optimization done (n=103): time 2.554e-06/0.512, allocations: 0 / 0.7469 GB, free: 21 MB / 0.545 GB Notification: Performance of matching and sorting (n=110): time 0.005023/0.517, allocations: 3.709 MB / 0.7505 GB, free: 19.05 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.5171, allocations: 66.38 kB / 0.7505 GB, free: 18.98 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.5181, allocations: 0.9151 MB / 0.7514 GB, free: 18.6 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.36e-05/0.5182, allocations: 45.17 kB / 0.7515 GB, free: 18.55 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003417/0.5185, allocations: 0.7288 MB / 0.7522 GB, free: 17.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.5187, allocations: 388.5 kB / 0.7526 GB, free: 17.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003719/0.5191, allocations: 284.7 kB / 0.7528 GB, free: 17.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 3.873e-05/0.5192, allocations: 306.3 kB / 0.7531 GB, free: 17.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008238/0.52, allocations: 0.6108 MB / 0.7537 GB, free: 17.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/0.5211, allocations: 1.105 MB / 0.7548 GB, free: 16.21 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001979/0.523, allocations: 1.83 MB / 0.7566 GB, free: 15.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-05/0.5231, allocations: 5.688 kB / 0.7566 GB, free: 15.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003081/0.5262, allocations: 2.105 MB / 0.7586 GB, free: 14.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.5262, allocations: 12.34 kB / 0.7587 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.191e-05/0.5262, allocations: 20.19 kB / 0.7587 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007426/0.527, allocations: 258.4 kB / 0.7589 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.5282, allocations: 374.8 kB / 0.7593 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007508/0.5357, allocations: 11.59 MB / 0.7706 GB, free: 18.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.5371, allocations: 124.6 kB / 0.7707 GB, free: 18.59 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.5372, allocations: 69 kB / 0.7708 GB, free: 18.58 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006466/0.5379, allocations: 415.3 kB / 0.7712 GB, free: 18.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.538, allocations: 130.5 kB / 0.7713 GB, free: 18.25 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002788/0.5408, allocations: 1.68 MB / 0.7729 GB, free: 17.56 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.5409, allocations: 10.88 kB / 0.773 GB, free: 17.56 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.5409, allocations: 4.688 kB / 0.773 GB, free: 17.56 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.5409, allocations: 8.922 kB / 0.773 GB, free: 17.56 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004818/0.5457, allocations: 3.282 MB / 0.7762 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.5457, allocations: 5.531 kB / 0.7762 GB, free: 16.11 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/0.5466, allocations: 223 kB / 0.7764 GB, free: 16.09 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000659/0.5473, allocations: 249.2 kB / 0.7766 GB, free: 15.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.206e-05/0.5473, allocations: 28.41 kB / 0.7767 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008582/0.5559, allocations: 11.58 MB / 0.788 GB, free: 4.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.616e-06/0.556, allocations: 9.906 kB / 0.788 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003026/0.559, allocations: 1.801 MB / 0.7897 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007341/0.5597, allocations: 304.2 kB / 0.79 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001776/0.5599, allocations: 31.02 kB / 0.7901 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007651/0.5607, allocations: 89.45 kB / 0.7901 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003086/0.561, allocations: 92.91 kB / 0.7902 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.946e-05/0.5611, allocations: 40.16 kB / 0.7903 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001181/0.5623, allocations: 0.6212 MB / 0.7909 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5623, allocations: 0 / 0.7909 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002022/0.5643, allocations: 393.1 kB / 0.7912 GB, free: 3.059 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003005/0.5647, allocations: 144.8 kB / 0.7914 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005341/0.57, allocations: 2.879 MB / 0.7942 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.57, allocations: 0 / 0.7942 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002556/0.5726, allocations: 1.626 MB / 0.7958 GB, free: 380 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.5749, allocations: 367.7 kB / 0.7961 GB, free: 244 kB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.5805, allocations: 2.884 MB / 0.7989 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001182/0.5817, allocations: 1.33 MB / 0.8002 GB, free: 13.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004147/0.5821, allocations: 110.8 kB / 0.8004 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of SimCode: time 7.91e-07/0.5821, allocations: 3.938 kB / 0.8004 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of Templates: time 0.06896/0.6511, allocations: 59.17 MB / 0.8581 GB, free: 11.57 MB / 0.6231 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)