Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001067, allocations: 110.7 kB / 16.37 MB, free: 6.438 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.001077/0.001078, allocations: 197.8 kB / 17.31 MB, free: 5.777 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.264/1.264, 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.002056/0.002056, allocations: 302.4 kB / 291.4 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.8871/0.8871, allocations: 169.2 MB / 0.4989 GB, free: 4.449 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 103 kB / 0.5967 GB, free: 14.38 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1565, allocations: 86.97 MB / 0.6816 GB, free: 7.402 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.3235/0.48, allocations: 26.64 MB / 0.7076 GB, free: 4.352 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01626/0.4964, allocations: 8.065 MB / 0.7155 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00323/0.4997, allocations: 119.3 kB / 0.7156 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00743/0.5071, allocations: 2.756 MB / 0.7183 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005447/0.5126, allocations: 1.591 MB / 0.7199 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005508/0.5181, allocations: 1.67 MB / 0.7215 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.008997/0.5271, allocations: 6.138 MB / 0.7275 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009707/0.5369, allocations: 7.33 MB / 0.7347 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005446/0.5424, allocations: 2.576 MB / 0.7372 GB, free: 3.566 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005704/0.5481, allocations: 2.839 MB / 0.7399 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.001408/0.5496, allocations: 0.5095 MB / 0.7404 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003982/0.5536, allocations: 1.275 MB / 0.7417 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.002758/0.5563, allocations: 2.046 MB / 0.7437 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003969/0.5603, allocations: 2.381 MB / 0.746 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008813/0.5691, allocations: 8.058 MB / 0.7539 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/0.5692, allocations: 0 / 0.7539 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.435e-06/0.5692, allocations: 4 kB / 0.7539 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0002263/0.5694, allocations: 0 / 0.7539 GB, free: 5.508 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.009072/0.5785, allocations: 4.228 MB / 0.758 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5786, allocations: 12.03 kB / 0.758 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004267/0.5828, allocations: 0.7961 MB / 0.7588 GB, free: 412 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00558/0.5884, allocations: 2.577 MB / 0.7613 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001859/0.5887, allocations: 279.6 kB / 0.7616 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000735/0.5894, allocations: 376.5 kB / 0.7619 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009276/0.5987, allocations: 5.992 MB / 0.7678 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.381e-05/0.5988, allocations: 15.84 kB / 0.7678 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003573/0.5992, allocations: 159.9 kB / 0.768 GB, free: 6.715 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005457/0.5997, allocations: 286.9 kB / 0.7682 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00682/0.6065, allocations: 4.516 MB / 0.7726 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02608/0.6327, allocations: 27.46 MB / 0.7995 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001505/0.6342, allocations: 1.126 MB / 0.8006 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001208/0.6354, allocations: 1.015 MB / 0.8016 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.588e-05/0.6355, allocations: 16.98 kB / 0.8016 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.59e-05/0.6356, allocations: 43.56 kB / 0.8016 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 3.046e-06/0.6356, allocations: 0 / 0.8016 GB, free: 1.723 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.02022/0.6558, allocations: 9.671 MB / 0.8111 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.6559, allocations: 64.72 kB / 0.8111 GB, free: 7.766 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001936/0.6578, allocations: 1.494 MB / 0.8126 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001104/0.6579, allocations: 45.7 kB / 0.8126 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001005/0.6589, allocations: 1.667 MB / 0.8142 GB, free: 4.531 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003645/0.6593, allocations: 469.4 kB / 0.8147 GB, free: 4.066 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004993/0.6598, allocations: 331.2 kB / 0.815 GB, free: 3.738 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.6599, allocations: 313 kB / 0.8153 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.6612, allocations: 0.9096 MB / 0.8162 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001598/0.6628, allocations: 1.467 MB / 0.8176 GB, free: 0.8125 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003021/0.6658, allocations: 2.554 MB / 0.8201 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/0.6658, allocations: 4 kB / 0.8201 GB, free: 14.01 MB / 0.5919 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005469/0.6713, allocations: 3.282 MB / 0.8233 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.204e-05/0.6714, allocations: 16 kB / 0.8233 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.128e-05/0.6714, allocations: 16 kB / 0.8234 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002206/0.6736, allocations: 0.7413 MB / 0.8241 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001487/0.6751, allocations: 379.4 kB / 0.8244 GB, free: 9.516 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.6904, allocations: 17.04 MB / 0.8411 GB, free: 7.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.6919, allocations: 104.1 kB / 0.8412 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001366/0.692, allocations: 76 kB / 0.8413 GB, free: 7.047 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,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.001947/0.694, allocations: 1.306 MB / 0.8425 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002709/0.6943, allocations: 205.6 kB / 0.8427 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00454/0.6988, allocations: 2.792 MB / 0.8455 GB, free: 2.699 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.748e-06/0.6988, allocations: 12 kB / 0.8455 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.6989, allocations: 8 kB / 0.8455 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.6989, allocations: 7.969 kB / 0.8455 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009876/0.7088, allocations: 6.216 MB / 0.8516 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.875e-06/0.7088, allocations: 4 kB / 0.8516 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/0.7099, allocations: 228.3 kB / 0.8518 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001875/0.7118, allocations: 0.6788 MB / 0.8524 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.584e-05/0.7119, allocations: 32 kB / 0.8525 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0145/0.7264, allocations: 16.78 MB / 0.8689 GB, free: 9.281 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.7264, allocations: 8.062 kB / 0.8689 GB, free: 9.273 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005829/0.7323, allocations: 4.008 MB / 0.8728 GB, free: 5.152 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009518/0.7332, allocations: 446.7 kB / 0.8732 GB, free: 4.695 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002159/0.7335, allocations: 43.83 kB / 0.8732 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008327/0.7343, allocations: 83.89 kB / 0.8733 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002741/0.7346, allocations: 112.7 kB / 0.8734 GB, free: 4.457 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.025e-05/0.7347, allocations: 43.94 kB / 0.8735 GB, free: 4.414 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00125/0.7359, allocations: 0.9942 MB / 0.8744 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.01e-07/0.736, allocations: 0 / 0.8744 GB, free: 3.43 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001961/0.7379, allocations: 0.6875 MB / 0.8751 GB, free: 2.742 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002334/0.7382, allocations: 147 kB / 0.8753 GB, free: 2.586 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004747/0.7429, allocations: 3.53 MB / 0.8787 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.329e-06/0.7429, allocations: 0 / 0.8787 GB, free: 14.95 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002954/0.7459, allocations: 2.3 MB / 0.881 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00246/0.7484, allocations: 0.6643 MB / 0.8816 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009919/0.7583, allocations: 6.443 MB / 0.8879 GB, free: 5.355 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002539/0.7609, allocations: 2.668 MB / 0.8905 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001354/0.7622, allocations: 485.4 kB / 0.891 GB, free: 2.18 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.7625, allocations: 119.4 kB / 0.8911 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of SimCode: time 7.02e-07/0.7625, allocations: 0 / 0.8911 GB, free: 2.066 MB / 0.6544 GB Notification: Performance of Templates: time 0.05265/0.8152, allocations: 33.65 MB / 0.9239 GB, free: 0.9414 MB / 0.6856 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)