Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 112.7 kB / 16.42 MB, free: 6.492 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.001188/0.001188, allocations: 185.7 kB / 17.35 MB, free: 5.758 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.408/1.408, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002143/0.002143, allocations: 277.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9863/0.9863, allocations: 169.2 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001914, allocations: 103.8 kB / 0.6821 GB, free: 6.969 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4537/0.4557, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01597/0.4717, allocations: 14.04 MB / 0.7808 GB, free: 5.832 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.4862, allocations: 9.388 MB / 0.7899 GB, free: 12.41 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001547/0.4878, allocations: 59.62 kB / 0.79 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004576/0.4924, allocations: 1.658 MB / 0.7916 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.4972, allocations: 1.543 MB / 0.7931 GB, free: 9.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002104/0.4993, allocations: 0.7613 MB / 0.7939 GB, free: 8.383 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003879/0.5032, allocations: 2.512 MB / 0.7963 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002313/0.5055, allocations: 1.411 MB / 0.7977 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002017/0.5075, allocations: 1.075 MB / 0.7987 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00219/0.5097, allocations: 1.148 MB / 0.7999 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005559/0.5103, allocations: 164 kB / 0.8 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.5124, allocations: 0.7877 MB / 0.8008 GB, free: 1.234 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00104/0.5135, allocations: 0.6232 MB / 0.8014 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00184/0.5153, allocations: 0.9407 MB / 0.8023 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00497/0.5203, allocations: 2.759 MB / 0.805 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/0.5203, allocations: 3.984 kB / 0.805 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of FrontEnd: time 5.551e-06/0.5203, allocations: 0 / 0.805 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001391/0.5205, allocations: 3.938 kB / 0.805 GB, free: 12.89 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005603/0.5261, allocations: 2.131 MB / 0.8071 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.5261, allocations: 8.031 kB / 0.8071 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01155/0.5377, allocations: 2.085 MB / 0.8091 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002888/0.5406, allocations: 1.294 MB / 0.8104 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.289e-05/0.5407, allocations: 90.73 kB / 0.8105 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00024/0.541, allocations: 120.1 kB / 0.8106 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005763/0.5467, allocations: 2.675 MB / 0.8132 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.5468, allocations: 15.92 kB / 0.8132 GB, free: 4.207 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000163/0.547, allocations: 47.98 kB / 0.8133 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006824/0.5477, allocations: 182.1 kB / 0.8135 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007488/0.5552, allocations: 2.799 MB / 0.8162 GB, free: 1.172 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01401/0.5692, allocations: 10.46 MB / 0.8264 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006842/0.5761, allocations: 2.521 MB / 0.8289 GB, free: 3.539 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/0.5792, allocations: 1.288 MB / 0.8301 GB, free: 2.246 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 5.858e-05/0.5793, allocations: 12.98 kB / 0.8301 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.23e-05/0.5793, allocations: 43.56 kB / 0.8302 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=89): time 3.106e-06/0.5793, allocations: 0 / 0.8302 GB, free: 2.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.0486/0.628, allocations: 13.35 MB / 0.8432 GB, free: 4.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.628, allocations: 72.64 kB / 0.8433 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001735/0.6298, allocations: 1.121 MB / 0.8444 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/0.63, allocations: 45.7 kB / 0.8444 GB, free: 3.352 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005309/0.6305, allocations: 0.7194 MB / 0.8451 GB, free: 2.625 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004696/0.631, allocations: 445.5 kB / 0.8456 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005518/0.6315, allocations: 267.4 kB / 0.8458 GB, free: 1.914 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.6317, allocations: 357.9 kB / 0.8462 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003355/0.6351, allocations: 1.342 MB / 0.8475 GB, free: 220 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003662/0.6387, allocations: 1.608 MB / 0.849 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006911/0.6457, allocations: 2.987 MB / 0.852 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.742e-05/0.6457, allocations: 4 kB / 0.852 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01159/0.6573, allocations: 4.438 MB / 0.8563 GB, free: 6.93 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.6573, allocations: 11.94 kB / 0.8563 GB, free: 6.918 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/0.6574, allocations: 8.875 kB / 0.8563 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005247/0.6626, allocations: 1.427 MB / 0.8577 GB, free: 5.441 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002023/0.6647, allocations: 443.2 kB / 0.8581 GB, free: 5.008 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0275/0.6922, allocations: 26.69 MB / 0.8842 GB, free: 8.488 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.6948, allocations: 303.5 kB / 0.8845 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000265/0.6951, allocations: 64.03 kB / 0.8845 GB, free: 8.129 MB / 0.6544 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 (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009483/0.6961, allocations: 437.4 kB / 0.885 GB, free: 7.691 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004357/0.6965, allocations: 162.1 kB / 0.8851 GB, free: 7.531 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01201/0.7085, allocations: 4.457 MB / 0.8895 GB, free: 3.023 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.7086, allocations: 7.969 kB / 0.8895 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.7086, allocations: 0 / 0.8895 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008559/0.7094, allocations: 470.8 kB / 0.8899 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/0.7098, allocations: 20 kB / 0.8899 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002218/0.712, allocations: 287.5 kB / 0.8902 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000325/0.7124, allocations: 153 kB / 0.8904 GB, free: 2.082 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.014/0.7264, allocations: 4.722 MB / 0.895 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01088/0.7373, allocations: 4.571 MB / 0.8994 GB, free: 8.723 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003341/0.7407, allocations: 1.442 MB / 0.9008 GB, free: 7.277 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001152/0.7418, allocations: 0.7487 MB / 0.9016 GB, free: 6.527 MB / 0.67 GB Notification: Performance of Backend: time 3.51e-07/0.7419, allocations: 0 / 0.9016 GB, free: 6.527 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.009725/0.7516, allocations: 4.301 MB / 0.9058 GB, free: 2.051 MB / 0.67 GB Notification: Performance of SimCode: time 0.007026/0.7586, allocations: 4.247 MB / 0.9099 GB, free: 13.79 MB / 0.6856 GB Notification: Performance of Templates: time 0.06628/0.8249, allocations: 45.15 MB / 0.954 GB, free: 1.082 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1)