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.001021/0.001021, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001053/0.001054, allocations: 194.9 kB / 16.53 MB, free: 6.391 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.301/1.301, allocations: 222.9 MB / 240.2 MB, free: 4.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.002126/0.002126, allocations: 287.1 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9269/0.9269, allocations: 169.3 MB / 0.4982 GB, free: 13.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001673/0.001674, allocations: 100.9 kB / 0.5952 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.144, allocations: 86.98 MB / 0.6802 GB, free: 0.6562 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03389/0.1779, allocations: 32.59 MB / 0.712 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.01589/0.1938, allocations: 10.26 MB / 0.722 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.1962, allocations: 155.2 kB / 0.7222 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008166/0.2043, allocations: 3.716 MB / 0.7258 GB, free: 1.836 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00448/0.2088, allocations: 1.858 MB / 0.7276 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004859/0.2137, allocations: 2.129 MB / 0.7297 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.007584/0.2213, allocations: 7.326 MB / 0.7369 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.2314, allocations: 9.486 MB / 0.7461 GB, free: 12.89 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004764/0.2362, allocations: 3.163 MB / 0.7492 GB, free: 9.719 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004853/0.2411, allocations: 3.474 MB / 0.7526 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001008/0.2421, allocations: 0.6484 MB / 0.7532 GB, free: 5.586 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/0.2454, allocations: 1.767 MB / 0.755 GB, free: 3.816 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002246/0.2477, allocations: 2.553 MB / 0.7575 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002937/0.2506, allocations: 2.898 MB / 0.7603 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.008454/0.2591, allocations: 10.04 MB / 0.7701 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.2591, allocations: 3.984 kB / 0.7701 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2591, allocations: 0 / 0.7701 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001552/0.2593, allocations: 0 / 0.7701 GB, free: 4.273 MB / 0.5606 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.2621/0.5214, allocations: 4.995 MB / 0.775 GB, free: 86.79 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.5215, allocations: 9.234 kB / 0.775 GB, free: 86.79 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005425/0.5269, allocations: 0.9546 MB / 0.7759 GB, free: 86.54 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004509/0.5314, allocations: 2.863 MB / 0.7787 GB, free: 85.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.5317, allocations: 345.3 kB / 0.779 GB, free: 85 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006939/0.5324, allocations: 468.9 kB / 0.7795 GB, free: 84.85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01063/0.543, allocations: 7.663 MB / 0.787 GB, free: 81.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001076/0.5431, allocations: 28.72 kB / 0.787 GB, free: 81.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004051/0.5436, allocations: 207.3 kB / 0.7872 GB, free: 81.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002833/0.5438, allocations: 314.2 kB / 0.7875 GB, free: 81.34 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008404/0.5523, allocations: 5.713 MB / 0.7931 GB, free: 79.36 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02514/0.5774, allocations: 35.09 MB / 0.8273 GB, free: 47.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/0.5796, allocations: 2.152 MB / 0.8294 GB, free: 46.13 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.5807, allocations: 1.26 MB / 0.8307 GB, free: 45.46 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 6.66e-05/0.5808, allocations: 17.12 kB / 0.8307 GB, free: 45.46 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.822e-05/0.5808, allocations: 47.72 kB / 0.8307 GB, free: 45.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 3.166e-06/0.5808, allocations: 0 / 0.8307 GB, free: 45.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.01052/0.5914, allocations: 7.085 MB / 0.8376 GB, free: 40.77 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.5914, allocations: 74.59 kB / 0.8377 GB, free: 40.7 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.5927, allocations: 1.485 MB / 0.8392 GB, free: 39.25 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.804e-05/0.5927, allocations: 47.02 kB / 0.8392 GB, free: 39.2 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006042/0.5934, allocations: 2.007 MB / 0.8412 GB, free: 37.17 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002213/0.5936, allocations: 488.3 kB / 0.8416 GB, free: 36.7 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003778/0.594, allocations: 347.2 kB / 0.842 GB, free: 36.35 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.21e-05/0.594, allocations: 301.1 kB / 0.8423 GB, free: 36.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009281/0.5949, allocations: 0.9213 MB / 0.8432 GB, free: 35.13 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001125/0.5961, allocations: 1.593 MB / 0.8447 GB, free: 33.23 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002204/0.5983, allocations: 2.737 MB / 0.8474 GB, free: 30.18 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.5983, allocations: 8 kB / 0.8474 GB, free: 30.17 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.004337/0.6026, allocations: 3.527 MB / 0.8508 GB, free: 26.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.6027, allocations: 20.06 kB / 0.8509 GB, free: 26.58 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/0.6027, allocations: 20 kB / 0.8509 GB, free: 26.56 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002053/0.6048, allocations: 0.9113 MB / 0.8518 GB, free: 25.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009578/0.6057, allocations: 351.3 kB / 0.8521 GB, free: 25.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/0.62, allocations: 23.12 MB / 0.8747 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.6213, allocations: 103.9 kB / 0.8748 GB, free: 408 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001013/0.6214, allocations: 83.98 kB / 0.8749 GB, free: 324 kB / 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 (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.002182/0.6236, allocations: 1.607 MB / 0.8764 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002689/0.6239, allocations: 201.7 kB / 0.8766 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00487/0.6287, allocations: 2.998 MB / 0.8795 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.103e-05/0.6288, allocations: 12 kB / 0.8796 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.577e-05/0.6288, allocations: 12 kB / 0.8796 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.302e-05/0.6288, allocations: 7.969 kB / 0.8796 GB, free: 11.42 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.6393, allocations: 7.346 MB / 0.8868 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6393, allocations: 4 kB / 0.8868 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007712/0.6401, allocations: 175.9 kB / 0.8869 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002311/0.6424, allocations: 0.834 MB / 0.8877 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.193e-05/0.6425, allocations: 24 kB / 0.8878 GB, free: 2.801 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01857/0.6611, allocations: 21.96 MB / 0.9092 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/0.6611, allocations: 7.938 kB / 0.9092 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004875/0.666, allocations: 3.023 MB / 0.9122 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007108/0.6667, allocations: 462.4 kB / 0.9126 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002102/0.6669, allocations: 35.94 kB / 0.9126 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007646/0.6677, allocations: 71.91 kB / 0.9127 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002951/0.668, allocations: 128.7 kB / 0.9128 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/0.6681, allocations: 36 kB / 0.9129 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001209/0.6693, allocations: 0.9717 MB / 0.9138 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6693, allocations: 0 / 0.9138 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002369/0.6717, allocations: 0.7891 MB / 0.9146 GB, free: 5.508 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 (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.0002066/0.6719, allocations: 141.7 kB / 0.9147 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006365/0.6783, allocations: 4.654 MB / 0.9193 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/0.6783, allocations: 0 / 0.9193 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003424/0.6817, allocations: 2.736 MB / 0.9219 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/0.6845, allocations: 0.7373 MB / 0.9227 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.6948, allocations: 7.206 MB / 0.9297 GB, free: 5.727 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00294/0.6978, allocations: 3.108 MB / 0.9327 GB, free: 2.594 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001186/0.699, allocations: 454 kB / 0.9332 GB, free: 2.148 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002596/0.6992, allocations: 115.4 kB / 0.9333 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.6993, allocations: 0 / 0.9333 GB, free: 2.035 MB / 0.6231 GB Notification: Performance of Templates: time 0.05646/0.7557, allocations: 35.75 MB / 0.9682 GB, free: 14.76 MB / 0.67 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)