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.001266/0.001266, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.00126/0.00126, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002081/0.002081, allocations: 281.3 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9859/0.9859, allocations: 169.3 MB / 0.4989 GB, free: 4.461 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 102.4 kB / 0.5967 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1469/0.1489, allocations: 86.96 MB / 0.6816 GB, free: 7.453 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.2651/0.4139, allocations: 26.65 MB / 0.7076 GB, free: 4.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01266/0.4266, allocations: 8.067 MB / 0.7155 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002203/0.4289, allocations: 115 kB / 0.7156 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006755/0.4356, allocations: 2.756 MB / 0.7183 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004193/0.4398, allocations: 1.591 MB / 0.7199 GB, free: 12.17 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004178/0.444, allocations: 1.678 MB / 0.7215 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007486/0.4515, allocations: 6.132 MB / 0.7275 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008188/0.4597, allocations: 7.324 MB / 0.7346 GB, free: 5.094 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/0.464, allocations: 2.584 MB / 0.7372 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004409/0.4684, allocations: 2.83 MB / 0.7399 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008632/0.4693, allocations: 0.5089 MB / 0.7404 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002721/0.472, allocations: 1.284 MB / 0.7417 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.001926/0.474, allocations: 2.046 MB / 0.7437 GB, free: 28 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.002661/0.4767, allocations: 2.381 MB / 0.746 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007618/0.4843, allocations: 8.058 MB / 0.7539 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.4843, allocations: 0 / 0.7539 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.874e-06/0.4843, allocations: 0 / 0.7539 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001578/0.4845, allocations: 0 / 0.7539 GB, free: 5.562 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.007618/0.4921, allocations: 4.239 MB / 0.758 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.4922, allocations: 8.031 kB / 0.758 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004018/0.4962, allocations: 0.7961 MB / 0.7588 GB, free: 460 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004877/0.5011, allocations: 2.577 MB / 0.7613 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001762/0.5013, allocations: 275.6 kB / 0.7616 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006585/0.5019, allocations: 380.5 kB / 0.7619 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008545/0.5105, allocations: 5.99 MB / 0.7678 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.916e-05/0.5106, allocations: 15.78 kB / 0.7678 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003367/0.5109, allocations: 164 kB / 0.768 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005156/0.5114, allocations: 286.9 kB / 0.7682 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006426/0.5179, allocations: 4.516 MB / 0.7726 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02465/0.5425, allocations: 27.46 MB / 0.7995 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001475/0.5441, allocations: 1.12 MB / 0.8005 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001214/0.5453, allocations: 1.015 MB / 0.8015 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.897e-05/0.5454, allocations: 13 kB / 0.8015 GB, free: 1.828 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.5454, allocations: 47.55 kB / 0.8016 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=110): time 2.946e-06/0.5454, allocations: 0 / 0.8016 GB, free: 1.773 MB / 0.5606 GB Notification: Performance of matching and sorting (n=131): time 0.02031/0.5657, allocations: 9.664 MB / 0.811 GB, free: 7.898 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.888e-05/0.5658, allocations: 68.72 kB / 0.8111 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001723/0.5675, allocations: 1.494 MB / 0.8126 GB, free: 6.328 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.774e-05/0.5676, allocations: 49.64 kB / 0.8126 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009296/0.5686, allocations: 1.671 MB / 0.8142 GB, free: 4.578 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/0.5689, allocations: 465.4 kB / 0.8147 GB, free: 4.117 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004737/0.5694, allocations: 339.1 kB / 0.815 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/0.5695, allocations: 305.1 kB / 0.8153 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.5707, allocations: 0.9135 MB / 0.8162 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.5723, allocations: 1.463 MB / 0.8176 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002925/0.5752, allocations: 2.542 MB / 0.8201 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.5752, allocations: 12 kB / 0.8201 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005406/0.5807, allocations: 3.282 MB / 0.8233 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.5807, allocations: 12 kB / 0.8233 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/0.5807, allocations: 20 kB / 0.8233 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002235/0.583, allocations: 0.7415 MB / 0.8241 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.5845, allocations: 387.3 kB / 0.8244 GB, free: 9.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01472/0.5992, allocations: 17.04 MB / 0.8411 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.6006, allocations: 99.91 kB / 0.8412 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.6008, allocations: 76.06 kB / 0.8412 GB, free: 7.098 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.00181/0.6026, allocations: 1.305 MB / 0.8425 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.6029, allocations: 201.6 kB / 0.8427 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00472/0.6076, allocations: 2.792 MB / 0.8454 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.969e-06/0.6076, allocations: 12 kB / 0.8454 GB, free: 2.742 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.6076, allocations: 8 kB / 0.8455 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.524e-05/0.6077, allocations: 7.969 kB / 0.8455 GB, free: 2.727 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009614/0.6173, allocations: 6.213 MB / 0.8515 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.6173, allocations: 8 kB / 0.8515 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001188/0.6185, allocations: 243.6 kB / 0.8518 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001945/0.6205, allocations: 0.6751 MB / 0.8524 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.096e-05/0.6206, allocations: 28 kB / 0.8525 GB, free: 11.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01432/0.6349, allocations: 16.78 MB / 0.8688 GB, free: 9.332 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.6349, allocations: 7.938 kB / 0.8689 GB, free: 9.324 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005909/0.6408, allocations: 4.004 MB / 0.8728 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009523/0.6418, allocations: 446.7 kB / 0.8732 GB, free: 4.75 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/0.6421, allocations: 43.83 kB / 0.8732 GB, free: 4.707 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000887/0.6429, allocations: 87.89 kB / 0.8733 GB, free: 4.621 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002768/0.6432, allocations: 116.7 kB / 0.8734 GB, free: 4.504 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.692e-05/0.6433, allocations: 36 kB / 0.8735 GB, free: 4.469 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001272/0.6446, allocations: 0.9942 MB / 0.8744 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/0.6446, allocations: 0 / 0.8744 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001944/0.6466, allocations: 0.6875 MB / 0.8751 GB, free: 2.797 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.0002347/0.6468, allocations: 157 kB / 0.8753 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004996/0.6518, allocations: 3.519 MB / 0.8787 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.6518, allocations: 0 / 0.8787 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002961/0.6548, allocations: 2.295 MB / 0.8809 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002452/0.6573, allocations: 0.6792 MB / 0.8816 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009442/0.6667, allocations: 6.443 MB / 0.8879 GB, free: 5.402 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002492/0.6692, allocations: 2.66 MB / 0.8905 GB, free: 2.711 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001436/0.6707, allocations: 485.4 kB / 0.8909 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003181/0.671, allocations: 115.4 kB / 0.8911 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of SimCode: time 1.182e-06/0.671, allocations: 0 / 0.8911 GB, free: 2.125 MB / 0.6544 GB Notification: Performance of Templates: time 0.05296/0.724, allocations: 33.68 MB / 0.9239 GB, free: 0.9805 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 gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)