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.000764/0.000764, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004981/0.004981, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.308/1.308, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00167/0.00167, allocations: 266.5 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9464/0.9464, allocations: 169.5 MB / 0.5004 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003894/0.0003894, allocations: 16.69 kB / 0.5987 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1522, allocations: 88.54 MB / 0.6851 GB, free: 15.07 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03311/0.1854, allocations: 31.53 MB / 0.7159 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01676/0.2022, allocations: 10.16 MB / 0.7258 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002458/0.2047, allocations: 131.2 kB / 0.726 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.2065, allocations: 0.6279 MB / 0.7266 GB, free: 4.516 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.004563/0.211, allocations: 1.743 MB / 0.7283 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004275/0.2153, allocations: 1.756 MB / 0.73 GB, free: 1.016 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01065/0.226, allocations: 10.58 MB / 0.7403 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01762/0.2437, allocations: 12.08 MB / 0.7521 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00398/0.2477, allocations: 2.24 MB / 0.7543 GB, free: 7.98 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004741/0.2524, allocations: 2.962 MB / 0.7572 GB, free: 5.008 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0006957/0.2532, allocations: 268 kB / 0.7575 GB, free: 4.746 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003438/0.2566, allocations: 1.696 MB / 0.7591 GB, free: 3.047 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002387/0.259, allocations: 2.054 MB / 0.7611 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.2923/0.5513, allocations: 2.335 MB / 0.7634 GB, free: 27.29 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.01256/0.5639, allocations: 9.66 MB / 0.7728 GB, free: 27.05 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.5639, allocations: 0 / 0.7728 GB, free: 27.05 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.384e-06/0.5639, allocations: 0.5625 kB / 0.7728 GB, free: 27.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0003557/0.5643, allocations: 2.469 kB / 0.7728 GB, free: 27.05 MB / 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.01153/0.5758, allocations: 4.016 MB / 0.7768 GB, free: 25.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.5759, allocations: 9 kB / 0.7768 GB, free: 25.25 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007514/0.5834, allocations: 0.9525 MB / 0.7777 GB, free: 24.99 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006073/0.5895, allocations: 2.861 MB / 0.7805 GB, free: 24.38 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000284/0.5899, allocations: 348.7 kB / 0.7808 GB, free: 24.36 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001745/0.5916, allocations: 465 kB / 0.7813 GB, free: 24.36 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01651/0.6081, allocations: 7.667 MB / 0.7888 GB, free: 23.34 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000183/0.6083, allocations: 28.5 kB / 0.7888 GB, free: 23.33 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006484/0.609, allocations: 203.9 kB / 0.789 GB, free: 23.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003581/0.6094, allocations: 316.6 kB / 0.7893 GB, free: 23.32 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01125/0.6206, allocations: 5.705 MB / 0.7949 GB, free: 23.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03281/0.6535, allocations: 35.15 MB / 0.8292 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002312/0.6558, allocations: 2.153 MB / 0.8313 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.6572, allocations: 1.262 MB / 0.8325 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.548e-05/0.6572, allocations: 15.91 kB / 0.8325 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.468e-05/0.6573, allocations: 48.73 kB / 0.8326 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.646e-06/0.6573, allocations: 2.156 kB / 0.8326 GB, free: 7.887 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.01332/0.6706, allocations: 7.123 MB / 0.8395 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4e-05/0.6707, allocations: 64.41 kB / 0.8396 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.6725, allocations: 1.485 MB / 0.841 GB, free: 2.367 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001102/0.6726, allocations: 49.42 kB / 0.8411 GB, free: 2.32 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.00124/0.6739, allocations: 2.006 MB / 0.843 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004099/0.6743, allocations: 482 kB / 0.8435 GB, free: 160 kB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000192/0.6745, allocations: 155.4 kB / 0.8437 GB, free: 56 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6746, allocations: 307.5 kB / 0.844 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001162/0.6758, allocations: 0.9075 MB / 0.8448 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/0.6774, allocations: 1.601 MB / 0.8464 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003062/0.6805, allocations: 2.726 MB / 0.8491 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.404e-05/0.6805, allocations: 6.562 kB / 0.8491 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005628/0.6862, allocations: 3.536 MB / 0.8525 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.174e-05/0.6862, allocations: 14.47 kB / 0.8525 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.352e-05/0.6862, allocations: 21.72 kB / 0.8526 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002524/0.6888, allocations: 0.9118 MB / 0.8534 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.69, allocations: 353.6 kB / 0.8538 GB, free: 9.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01964/0.7096, allocations: 21.23 MB / 0.8745 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002147/0.7118, allocations: 104 kB / 0.8746 GB, free: 2.281 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/0.712, allocations: 84 kB / 0.8747 GB, free: 2.199 MB / 0.5919 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 (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 {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (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.003618/0.7157, allocations: 1.61 MB / 0.8763 GB, free: 0.6055 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004713/0.7161, allocations: 205.5 kB / 0.8765 GB, free: 412 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005329/0.7215, allocations: 2.993 MB / 0.8794 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.315e-05/0.7215, allocations: 12 kB / 0.8794 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.738e-05/0.7215, allocations: 12 kB / 0.8794 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.7215, allocations: 10.59 kB / 0.8794 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0122/0.7337, allocations: 7.334 MB / 0.8866 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.7338, allocations: 7.984 kB / 0.8866 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000804/0.7346, allocations: 173.6 kB / 0.8868 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002451/0.7371, allocations: 0.8178 MB / 0.8876 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001084/0.7372, allocations: 33.59 kB / 0.8876 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01779/0.755, allocations: 20.33 MB / 0.9074 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.755, allocations: 4 kB / 0.9074 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005324/0.7604, allocations: 3.028 MB / 0.9104 GB, free: 11.89 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.7614, allocations: 462.4 kB / 0.9108 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002375/0.7617, allocations: 31.98 kB / 0.9109 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008398/0.7625, allocations: 67.92 kB / 0.9109 GB, free: 11.32 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003482/0.7629, allocations: 124.5 kB / 0.9111 GB, free: 11.21 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.572e-05/0.763, allocations: 40 kB / 0.9111 GB, free: 11.17 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001356/0.7643, allocations: 0.9756 MB / 0.912 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7644, allocations: 0 / 0.912 GB, free: 10.17 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003055/0.7674, allocations: 0.7852 MB / 0.9128 GB, free: 9.383 MB / 0.6387 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 (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,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%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002413/0.7677, allocations: 141.9 kB / 0.913 GB, free: 9.246 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.005588/0.7733, allocations: 4.033 MB / 0.9169 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.7733, allocations: 1 kB / 0.9169 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003643/0.7769, allocations: 2.744 MB / 0.9196 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004371/0.7813, allocations: 0.672 MB / 0.9202 GB, free: 1.613 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01337/0.7947, allocations: 9.167 MB / 0.9292 GB, free: 8.379 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003278/0.798, allocations: 3.113 MB / 0.9322 GB, free: 5.234 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001446/0.7995, allocations: 457.9 kB / 0.9327 GB, free: 4.785 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002917/0.7998, allocations: 111.4 kB / 0.9328 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of SimCode: time 6.31e-07/0.7998, allocations: 0 / 0.9328 GB, free: 4.676 MB / 0.6544 GB Notification: Performance of Templates: time 0.05707/0.8569, allocations: 34.16 MB / 0.9661 GB, free: 3.027 MB / 0.6856 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)