Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 105.6 kB / 15.98 MB, free: 6.352 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.001161/0.001161, allocations: 196.5 kB / 16.91 MB, free: 6.191 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.229/1.229, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002017/0.002017, allocations: 291.2 kB / 291 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8951/0.8951, allocations: 169.2 MB / 0.4985 GB, free: 4.652 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001604, allocations: 90.55 kB / 0.5953 GB, free: 15.5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1508, allocations: 86.97 MB / 0.6803 GB, free: 8.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.2731/0.4239, allocations: 14.68 MB / 0.6946 GB, free: 12.02 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01184/0.4357, allocations: 10.25 MB / 0.7046 GB, free: 5.52 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001104/0.4369, allocations: 54.16 kB / 0.7047 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003544/0.4404, allocations: 1.576 MB / 0.7062 GB, free: 4.578 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004359/0.4448, allocations: 1.637 MB / 0.7078 GB, free: 3.672 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001655/0.4465, allocations: 0.6815 MB / 0.7085 GB, free: 3.297 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.003131/0.4496, allocations: 2.774 MB / 0.7112 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/0.4515, allocations: 1.586 MB / 0.7127 GB, free: 1.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.4536, allocations: 1.517 MB / 0.7142 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.4551, allocations: 1.194 MB / 0.7154 GB, free: 228 kB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002106/0.4553, allocations: 161.3 kB / 0.7155 GB, free: 228 kB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.4567, allocations: 0.79 MB / 0.7163 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005906/0.4573, allocations: 0.603 MB / 0.7169 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009477/0.4583, allocations: 0.9534 MB / 0.7178 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.4606, allocations: 2.215 MB / 0.72 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4607, allocations: 0 / 0.72 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.4607, allocations: 4 kB / 0.72 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.763e-05/0.4607, allocations: 1.469 kB / 0.72 GB, free: 14.48 MB / 0.4981 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.003824/0.4645, allocations: 2.172 MB / 0.7221 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.4646, allocations: 9.312 kB / 0.7221 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/0.476, allocations: 2.102 MB / 0.7242 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00233/0.4784, allocations: 1.218 MB / 0.7254 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.628e-05/0.4785, allocations: 93.48 kB / 0.7254 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002481/0.4787, allocations: 122.4 kB / 0.7256 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005661/0.4844, allocations: 2.676 MB / 0.7282 GB, free: 9.461 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.876e-05/0.4844, allocations: 8.25 kB / 0.7282 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001769/0.4846, allocations: 57.84 kB / 0.7282 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006064/0.4852, allocations: 194.6 kB / 0.7284 GB, free: 9.344 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007221/0.4925, allocations: 2.787 MB / 0.7311 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.5065, allocations: 10.49 MB / 0.7414 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006185/0.5127, allocations: 2.34 MB / 0.7437 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00294/0.5157, allocations: 1.28 MB / 0.7449 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.476e-05/0.5157, allocations: 14.19 kB / 0.7449 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.368e-05/0.5158, allocations: 39.06 kB / 0.745 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=89): time 2.785e-06/0.5158, allocations: 1.281 kB / 0.745 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of matching and sorting (n=153): time 0.05806/0.5739, allocations: 16.48 MB / 0.7611 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.5739, allocations: 64.72 kB / 0.7611 GB, free: 12.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.5755, allocations: 1.176 MB / 0.7623 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/0.5757, allocations: 49.7 kB / 0.7623 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005323/0.5762, allocations: 0.7475 MB / 0.7631 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000461/0.5767, allocations: 0.5198 MB / 0.7636 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005579/0.5772, allocations: 291.4 kB / 0.7639 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.109e-05/0.5773, allocations: 309.1 kB / 0.7641 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003283/0.5806, allocations: 1.507 MB / 0.7656 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00342/0.584, allocations: 1.78 MB / 0.7674 GB, free: 6.082 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006811/0.5909, allocations: 3.365 MB / 0.7706 GB, free: 2.621 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.5909, allocations: 3.938 kB / 0.7706 GB, free: 2.617 MB / 0.5294 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01294/0.6038, allocations: 5.276 MB / 0.7758 GB, free: 13.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.6039, allocations: 8.875 kB / 0.7758 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/0.6039, allocations: 8 kB / 0.7758 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006556/0.6104, allocations: 1.888 MB / 0.7777 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/0.6123, allocations: 419.2 kB / 0.7781 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02814/0.6404, allocations: 24.15 MB / 0.8016 GB, free: 1.711 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/0.6431, allocations: 311.6 kB / 0.8019 GB, free: 1.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001692/0.6433, allocations: 67.95 kB / 0.802 GB, free: 1.34 MB / 0.5606 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008765/0.6442, allocations: 465.4 kB / 0.8024 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003119/0.6445, allocations: 173.8 kB / 0.8026 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01313/0.6576, allocations: 5.32 MB / 0.8078 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.155e-05/0.6577, allocations: 16 kB / 0.8078 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.149e-05/0.6577, allocations: 24 kB / 0.8078 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.6577, allocations: 11.91 kB / 0.8079 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01578/0.6735, allocations: 7.426 MB / 0.8151 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.315e-06/0.6735, allocations: 4 kB / 0.8151 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00164/0.6752, allocations: 355.3 kB / 0.8155 GB, free: 3.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006027/0.6812, allocations: 1.722 MB / 0.8171 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.6814, allocations: 47.97 kB / 0.8172 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02656/0.7079, allocations: 23.32 MB / 0.8399 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.708, allocations: 4 kB / 0.84 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/0.72, allocations: 4.893 MB / 0.8447 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000916/0.7209, allocations: 490.7 kB / 0.8452 GB, free: 3.68 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002758/0.7212, allocations: 35.98 kB / 0.8452 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/0.7233, allocations: 315.5 kB / 0.8455 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004509/0.7237, allocations: 153 kB / 0.8457 GB, free: 3.184 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.7239, allocations: 55.97 kB / 0.8457 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001004/0.7249, allocations: 0.7899 MB / 0.8465 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7249, allocations: 0 / 0.8465 GB, free: 2.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001835/0.7267, allocations: 0.6562 MB / 0.8471 GB, free: 1.684 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002764/0.727, allocations: 139.2 kB / 0.8473 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01123/0.7383, allocations: 5.429 MB / 0.8526 GB, free: 12 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.7383, allocations: 3.938 kB / 0.8526 GB, free: 12 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.006563/0.7449, allocations: 3.355 MB / 0.8559 GB, free: 8.539 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/0.7471, allocations: 0.5649 MB / 0.8564 GB, free: 8.004 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008419/0.7556, allocations: 5.113 MB / 0.8614 GB, free: 2.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.7568, allocations: 1.564 MB / 0.8629 GB, free: 1.234 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005215/0.7573, allocations: 123.3 kB / 0.8631 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.7573, allocations: 0 / 0.8631 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of Templates: time 0.07785/0.8351, allocations: 85.73 MB / 0.9468 GB, free: 11.46 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1)