Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.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.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001587/0.001587, allocations: 107.5 kB / 16.41 MB, free: 6.488 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.001716/0.001716, allocations: 185.6 kB / 17.34 MB, free: 5.766 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002337/0.002338, allocations: 291.8 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9821/0.9821, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 100.1 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4964/0.4985, allocations: 86.98 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R): time 0.008418/0.507, allocations: 6.798 MB / 0.7737 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004885/0.5119, allocations: 3.063 MB / 0.7767 GB, free: 10.01 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005008/0.5125, allocations: 23.88 kB / 0.7767 GB, free: 9.984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002392/0.5149, allocations: 0.9596 MB / 0.7776 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001157/0.5161, allocations: 0.5206 MB / 0.7782 GB, free: 8.5 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009993/0.5171, allocations: 443 kB / 0.7786 GB, free: 8.066 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001132/0.5182, allocations: 1.228 MB / 0.7798 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008672/0.5191, allocations: 0.6545 MB / 0.7804 GB, free: 6.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005495/0.5197, allocations: 490.2 kB / 0.7809 GB, free: 5.695 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005947/0.5203, allocations: 0.5137 MB / 0.7814 GB, free: 5.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001013/0.5204, allocations: 68 kB / 0.7814 GB, free: 5.113 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006303/0.521, allocations: 379.2 kB / 0.7818 GB, free: 4.742 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002763/0.5213, allocations: 307.2 kB / 0.7821 GB, free: 4.441 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0004105/0.5217, allocations: 449.7 kB / 0.7825 GB, free: 4 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.5229, allocations: 1.225 MB / 0.7837 GB, free: 2.773 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5229, allocations: 0 / 0.7837 GB, free: 2.773 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.263e-06/0.523, allocations: 0 / 0.7837 GB, free: 2.773 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.255e-05/0.523, allocations: 0 / 0.7837 GB, free: 2.773 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001829/0.5248, allocations: 1.165 MB / 0.7849 GB, free: 1.555 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.5249, allocations: 12.03 kB / 0.7849 GB, free: 1.543 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.5264, allocations: 243.5 kB / 0.7851 GB, free: 1.305 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009005/0.5273, allocations: 0.6038 MB / 0.7857 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.787e-05/0.5274, allocations: 53.61 kB / 0.7857 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.5275, allocations: 64.36 kB / 0.7858 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.529, allocations: 1.085 MB / 0.7869 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/0.529, allocations: 7.938 kB / 0.7869 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.336e-05/0.5291, allocations: 31.98 kB / 0.7869 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001683/0.5293, allocations: 85.25 kB / 0.787 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001142/0.5304, allocations: 0.7542 MB / 0.7877 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005378/0.5358, allocations: 5.882 MB / 0.7935 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009704/0.5368, allocations: 0.5585 MB / 0.794 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000442/0.5373, allocations: 330 kB / 0.7943 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.686e-05/0.5373, allocations: 8.375 kB / 0.7943 GB, free: 7.273 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.5374, allocations: 39 kB / 0.7944 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=47): time 2.154e-06/0.5374, allocations: 0 / 0.7944 GB, free: 7.227 MB / 0.5606 GB Notification: Performance of matching and sorting (n=48): time 0.003801/0.5412, allocations: 1.982 MB / 0.7963 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.102e-05/0.5412, allocations: 55.84 kB / 0.7964 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006402/0.5419, allocations: 0.5626 MB / 0.7969 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.5419, allocations: 37.7 kB / 0.7969 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002762/0.5422, allocations: 414.9 kB / 0.7973 GB, free: 4.059 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.5423, allocations: 173.6 kB / 0.7975 GB, free: 3.887 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.5426, allocations: 126.5 kB / 0.7976 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.5427, allocations: 386.6 kB / 0.798 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004107/0.5432, allocations: 269.9 kB / 0.7983 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005528/0.5437, allocations: 493 kB / 0.7987 GB, free: 2.523 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.5447, allocations: 0.8132 MB / 0.7995 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5448, allocations: 0 / 0.7995 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001781/0.5465, allocations: 1.086 MB / 0.8006 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5466, allocations: 8 kB / 0.8006 GB, free: 0.5078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/0.5466, allocations: 8 kB / 0.8006 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008288/0.5474, allocations: 283.9 kB / 0.8009 GB, free: 216 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004755/0.5479, allocations: 131.8 kB / 0.801 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006872/0.5548, allocations: 7.122 MB / 0.8079 GB, free: 8.398 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.5555, allocations: 35.97 kB / 0.808 GB, free: 8.363 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.753e-05/0.5555, allocations: 28 kB / 0.808 GB, free: 8.336 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (67): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004354/0.556, allocations: 264.7 kB / 0.8083 GB, free: 8.07 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.5561, allocations: 71.16 kB / 0.8083 GB, free: 8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001616/0.5577, allocations: 0.8925 MB / 0.8092 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.5577, allocations: 4 kB / 0.8092 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.5578, allocations: 4 kB / 0.8092 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5578, allocations: 3.984 kB / 0.8092 GB, free: 7.07 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002638/0.5604, allocations: 1.729 MB / 0.8109 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.5604, allocations: 0 / 0.8109 GB, free: 5.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002621/0.5607, allocations: 63.83 kB / 0.811 GB, free: 5.191 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000727/0.5614, allocations: 279.3 kB / 0.8112 GB, free: 4.906 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.176e-05/0.5615, allocations: 12.06 kB / 0.8112 GB, free: 4.895 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006594/0.5681, allocations: 7.114 MB / 0.8182 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5681, allocations: 0 / 0.8182 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001564/0.5697, allocations: 0.9835 MB / 0.8191 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002792/0.57, allocations: 196.2 kB / 0.8193 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.606e-05/0.5701, allocations: 11.98 kB / 0.8193 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000392/0.5705, allocations: 31.91 kB / 0.8194 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000115/0.5706, allocations: 51.88 kB / 0.8194 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.5706, allocations: 12 kB / 0.8194 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004742/0.5711, allocations: 387.1 kB / 0.8198 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5711, allocations: 0 / 0.8198 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008753/0.572, allocations: 224 kB / 0.82 GB, free: 11.28 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (31): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001599/0.5722, allocations: 119.1 kB / 0.8201 GB, free: 11.15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001937/0.5741, allocations: 1.279 MB / 0.8214 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5741, allocations: 0 / 0.8214 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.5753, allocations: 0.8894 MB / 0.8223 GB, free: 8.883 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001014/0.5764, allocations: 225.8 kB / 0.8225 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002368/0.5787, allocations: 1.399 MB / 0.8238 GB, free: 7.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006965/0.5795, allocations: 1.017 MB / 0.8248 GB, free: 6.176 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.5796, allocations: 43.44 kB / 0.8249 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of SimCode: time 4.31e-07/0.5796, allocations: 0 / 0.8249 GB, free: 6.133 MB / 0.5919 GB Notification: Performance of Templates: time 0.02434/0.604, allocations: 20.92 MB / 0.8453 GB, free: 1.262 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R.pipe 2>&1)