Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007932/0.0007932, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008756/0.0008757, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 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: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001716/0.001716, allocations: 271 kB / 291.4 MB, free: 1.973 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004839, allocations: 18.09 kB / 0.598 GB, free: 28.25 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1794, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03022/0.2097, allocations: 29.71 MB / 0.7135 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.2255, allocations: 9.743 MB / 0.723 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.2281, allocations: 127.2 kB / 0.7231 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001708/0.2298, allocations: 0.6162 MB / 0.7237 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.2338, allocations: 1.469 MB / 0.7252 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.2375, allocations: 1.26 MB / 0.7264 GB, free: 4.449 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009243/0.2468, allocations: 8.27 MB / 0.7345 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01676/0.2636, allocations: 10.34 MB / 0.7446 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/0.2678, allocations: 2.264 MB / 0.7468 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004166/0.2719, allocations: 2.889 MB / 0.7496 GB, free: 12.57 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006498/0.2726, allocations: 267.9 kB / 0.7499 GB, free: 12.31 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.275, allocations: 0.835 MB / 0.7507 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002005/0.277, allocations: 2.042 MB / 0.7527 GB, free: 9.43 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.2782, allocations: 0.9563 MB / 0.7536 GB, free: 8.465 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.007847/0.286, allocations: 8.345 MB / 0.7618 GB, free: 100 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.2861, allocations: 0 / 0.7618 GB, free: 100 kB / 0.545 GB Notification: Performance of FrontEnd: time 2.154e-06/0.2861, allocations: 4 kB / 0.7618 GB, free: 96 kB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0002589/0.2864, allocations: 0 / 0.7618 GB, free: 96 kB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.4372/0.7235, allocations: 4.053 MB / 0.7657 GB, free: 71.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.739e-05/0.7236, allocations: 12.66 kB / 0.7657 GB, free: 71.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007915/0.7316, allocations: 0.9611 MB / 0.7667 GB, free: 70.94 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008643/0.7402, allocations: 2.798 MB / 0.7694 GB, free: 69.95 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005686/0.7408, allocations: 351.7 kB / 0.7697 GB, free: 69.8 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002436/0.7433, allocations: 468.2 kB / 0.7702 GB, free: 69.65 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0213/0.7646, allocations: 7.627 MB / 0.7776 GB, free: 66.32 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003266/0.765, allocations: 33.95 kB / 0.7777 GB, free: 66.3 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001419/0.7664, allocations: 198.6 kB / 0.7779 GB, free: 66.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004694/0.7669, allocations: 312.2 kB / 0.7782 GB, free: 66.12 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01383/0.7807, allocations: 5.673 MB / 0.7837 GB, free: 64.14 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04258/0.8234, allocations: 35.14 MB / 0.818 GB, free: 31.61 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002696/0.8261, allocations: 2.147 MB / 0.8201 GB, free: 30.14 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001723/0.8279, allocations: 1.263 MB / 0.8213 GB, free: 29.47 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001233/0.828, allocations: 17.06 kB / 0.8214 GB, free: 29.47 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.8281, allocations: 47.81 kB / 0.8214 GB, free: 29.42 MB / 0.545 GB Notification: Performance of pre-optimization done (n=133): time 3.747e-06/0.8281, allocations: 0 / 0.8214 GB, free: 29.42 MB / 0.545 GB Notification: Performance of matching and sorting (n=136): time 0.01289/0.841, allocations: 7.08 MB / 0.8283 GB, free: 23.28 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/0.841, allocations: 72.72 kB / 0.8284 GB, free: 23.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002078/0.8431, allocations: 1.468 MB / 0.8298 GB, free: 21.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/0.8433, allocations: 53.45 kB / 0.8299 GB, free: 21.62 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.00109/0.8444, allocations: 2.008 MB / 0.8318 GB, free: 19.6 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000401/0.8448, allocations: 487.4 kB / 0.8323 GB, free: 19.12 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.533e-05/0.8449, allocations: 36 kB / 0.8323 GB, free: 19.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.845, allocations: 381.9 kB / 0.8327 GB, free: 18.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.8461, allocations: 0.9018 MB / 0.8336 GB, free: 17.81 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.8475, allocations: 1.589 MB / 0.8351 GB, free: 15.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001377/0.8489, allocations: 1.177 MB / 0.8363 GB, free: 14.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.908e-06/0.8489, allocations: 12 kB / 0.8363 GB, free: 14.72 MB / 0.545 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.00507/0.854, allocations: 3.504 MB / 0.8397 GB, free: 11.17 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.243e-05/0.854, allocations: 16 kB / 0.8397 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.764e-05/0.854, allocations: 24 kB / 0.8398 GB, free: 11.13 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002045/0.8561, allocations: 0.903 MB / 0.8406 GB, free: 10.19 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/0.8571, allocations: 339.4 kB / 0.841 GB, free: 9.859 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0179/0.8751, allocations: 21.21 MB / 0.8617 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/0.8772, allocations: 99.92 kB / 0.8618 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003998/0.8776, allocations: 91.98 kB / 0.8619 GB, free: 2.887 MB / 0.5606 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(3,77.8%) 5,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003935/0.8815, allocations: 1.61 MB / 0.8634 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006859/0.8822, allocations: 205.6 kB / 0.8636 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005453/0.8877, allocations: 2.977 MB / 0.8665 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.8877, allocations: 12 kB / 0.8665 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.8878, allocations: 11.94 kB / 0.8666 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/0.8878, allocations: 16.05 kB / 0.8666 GB, free: 14 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01243/0.9002, allocations: 7.32 MB / 0.8737 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.039e-05/0.9003, allocations: 4 kB / 0.8737 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/0.901, allocations: 175.7 kB / 0.8739 GB, free: 6.305 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.9032, allocations: 0.8298 MB / 0.8747 GB, free: 5.438 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/0.9034, allocations: 28 kB / 0.8747 GB, free: 5.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0211/0.9245, allocations: 20.29 MB / 0.8945 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.9245, allocations: 4 kB / 0.8945 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007479/0.932, allocations: 3.012 MB / 0.8975 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/0.9338, allocations: 458.5 kB / 0.8979 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004588/0.9343, allocations: 35.98 kB / 0.898 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001159/0.9354, allocations: 67.92 kB / 0.898 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000552/0.936, allocations: 124.7 kB / 0.8981 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001218/0.9361, allocations: 40 kB / 0.8982 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.00216/0.9383, allocations: 0.9635 MB / 0.8991 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9383, allocations: 0 / 0.8991 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.004881/0.9432, allocations: 0.7852 MB / 0.8999 GB, free: 9.891 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003435/0.9436, allocations: 144.8 kB / 0.9 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00601/0.9496, allocations: 3.998 MB / 0.9039 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.9496, allocations: 0 / 0.9039 GB, free: 5.598 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.004034/0.9537, allocations: 2.75 MB / 0.9066 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003612/0.9573, allocations: 0.666 MB / 0.9073 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01563/0.973, allocations: 8.735 MB / 0.9158 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003785/0.9768, allocations: 3.105 MB / 0.9188 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001707/0.9785, allocations: 458 kB / 0.9193 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002877/0.9788, allocations: 111.4 kB / 0.9194 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of SimCode: time 1.313e-06/0.9789, allocations: 0 / 0.9194 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of Templates: time 0.06252/1.041, allocations: 33.18 MB / 0.9518 GB, free: 4.754 MB / 0.6544 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1)