Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.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.001162/0.001162, allocations: 114 kB / 16.42 MB, free: 6.02 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.001206/0.001206, allocations: 187.1 kB / 17.35 MB, free: 5.633 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002158/0.002158, allocations: 288.5 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.9748/0.9748, allocations: 169.3 MB / 0.499 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001911/0.001911, allocations: 103.8 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4858/0.4878, allocations: 86.97 MB / 0.7671 GB, free: 3.902 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0384/0.5262, allocations: 35.11 MB / 0.8014 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01643/0.5427, allocations: 9.948 MB / 0.8111 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003957/0.5467, allocations: 147.2 kB / 0.8112 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.009684/0.5564, allocations: 3.809 MB / 0.8149 GB, free: 2.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006682/0.5631, allocations: 2.142 MB / 0.817 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005764/0.5689, allocations: 1.952 MB / 0.8189 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01178/0.5807, allocations: 7.99 MB / 0.8267 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0143/0.5951, allocations: 9.526 MB / 0.836 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005702/0.6008, allocations: 3.427 MB / 0.8394 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006159/0.607, allocations: 3.738 MB / 0.843 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.00224/0.6093, allocations: 0.6797 MB / 0.8437 GB, free: 5.113 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004228/0.6135, allocations: 1.44 MB / 0.8451 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.004233/0.6178, allocations: 2.616 MB / 0.8477 GB, free: 1.051 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.006286/0.6241, allocations: 3.108 MB / 0.8507 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.01304/0.6371, allocations: 10.38 MB / 0.8608 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.6372, allocations: 0 / 0.8608 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.214e-06/0.6372, allocations: 0 / 0.8608 GB, free: 3.527 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0003722/0.6376, allocations: 0 / 0.8608 GB, free: 3.527 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01666/0.6543, allocations: 5.412 MB / 0.8661 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/0.6543, allocations: 8.031 kB / 0.8661 GB, free: 14.04 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005816/0.6601, allocations: 0.9626 MB / 0.8671 GB, free: 13.07 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00754/0.6677, allocations: 3.178 MB / 0.8702 GB, free: 9.832 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003259/0.6681, allocations: 361.9 kB / 0.8705 GB, free: 9.477 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001502/0.6696, allocations: 472.2 kB / 0.871 GB, free: 9.016 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01869/0.6883, allocations: 7.906 MB / 0.8787 GB, free: 0.7461 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001955/0.6885, allocations: 15.88 kB / 0.8787 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001293/0.6898, allocations: 208 kB / 0.8789 GB, free: 0.5273 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005548/0.6904, allocations: 369.1 kB / 0.8792 GB, free: 168 kB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0121/0.7025, allocations: 5.937 MB / 0.885 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04431/0.7469, allocations: 35.96 MB / 0.9202 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003512/0.7504, allocations: 2.138 MB / 0.9222 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002006/0.7524, allocations: 1.478 MB / 0.9237 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001089/0.7526, allocations: 17.31 kB / 0.9237 GB, free: 15.38 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.7526, allocations: 55.81 kB / 0.9238 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=157): time 4.419e-06/0.7526, allocations: 0 / 0.9238 GB, free: 15.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=160): time 0.01404/0.7667, allocations: 7.548 MB / 0.9311 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.7668, allocations: 72.66 kB / 0.9312 GB, free: 7.406 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002909/0.7697, allocations: 1.86 MB / 0.933 GB, free: 5.52 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001485/0.7698, allocations: 57.69 kB / 0.9331 GB, free: 5.457 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.001306/0.7712, allocations: 2.119 MB / 0.9351 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004621/0.7716, allocations: 0.5546 MB / 0.9357 GB, free: 2.75 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006489/0.7723, allocations: 403.7 kB / 0.9361 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.7724, allocations: 301.1 kB / 0.9364 GB, free: 2.051 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/0.774, allocations: 1.062 MB / 0.9374 GB, free: 0.9844 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002021/0.776, allocations: 1.764 MB / 0.9391 GB, free: 14.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003828/0.7798, allocations: 3.049 MB / 0.9421 GB, free: 11.54 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.957e-05/0.7799, allocations: 4 kB / 0.9421 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006549/0.7864, allocations: 3.929 MB / 0.9459 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.716e-05/0.7865, allocations: 12 kB / 0.9459 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.347e-05/0.7865, allocations: 24.09 kB / 0.946 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002567/0.7891, allocations: 0.9389 MB / 0.9469 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/0.7906, allocations: 423.2 kB / 0.9473 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4295/1.22, allocations: 22.75 MB / 0.9695 GB, free: 179.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002358/1.223, allocations: 121.1 kB / 0.9696 GB, free: 179.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002779/1.223, allocations: 100.3 kB / 0.9697 GB, free: 179.8 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.00349/1.226, allocations: 1.646 MB / 0.9713 GB, free: 179.7 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005973/1.227, allocations: 255.5 kB / 0.9716 GB, free: 179.7 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005722/1.233, allocations: 3.268 MB / 0.9748 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/1.233, allocations: 7.641 kB / 0.9748 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.233, allocations: 0.5625 kB / 0.9748 GB, free: 178.8 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/1.234, allocations: 0.5225 MB / 0.9753 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002927/1.234, allocations: 30.67 kB / 0.9753 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00105/1.235, allocations: 88.45 kB / 0.9754 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003676/1.236, allocations: 142.5 kB / 0.9755 GB, free: 178.6 MB / 0.7325 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006553/1.242, allocations: 3.397 MB / 0.9788 GB, free: 177.4 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004171/1.246, allocations: 3.663 MB / 0.9824 GB, free: 176.1 MB / 0.7325 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001138/1.248, allocations: 1.091 MB / 0.9835 GB, free: 175.7 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001497/1.249, allocations: 1.221 MB / 0.9847 GB, free: 175.2 MB / 0.7325 GB Notification: Performance of Backend: time 8.52e-07/1.249, allocations: 0 / 0.9847 GB, free: 175.2 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.006349/1.255, allocations: 3.999 MB / 0.9886 GB, free: 173 MB / 0.7325 GB Notification: Performance of SimCode: time 0.01308/1.269, allocations: 8.531 MB / 0.9969 GB, free: 169.1 MB / 0.7325 GB Notification: Performance of Templates: time 0.0678/1.336, allocations: 48.94 MB / 1.045 GB, free: 122.5 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1)