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.001477/0.001478, allocations: 107.4 kB / 15.34 MB, free: 0.5 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.001419/0.001419, allocations: 192.7 kB / 16.25 MB, free: 6.633 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.36/1.36, allocations: 222.9 MB / 239.9 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002025/0.002025, allocations: 294.7 kB / 290.4 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.9409/0.9409, allocations: 169.2 MB / 0.4978 GB, free: 14.07 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001653/0.001653, allocations: 94.09 kB / 0.5947 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1592, allocations: 86.99 MB / 0.6796 GB, free: 1.039 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03551/0.1948, allocations: 32.3 MB / 0.7112 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01612/0.2109, allocations: 10.17 MB / 0.7211 GB, free: 6.465 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002833/0.2138, allocations: 131.3 kB / 0.7212 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008842/0.2226, allocations: 3.491 MB / 0.7246 GB, free: 2.84 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005362/0.228, allocations: 1.712 MB / 0.7263 GB, free: 1.121 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005576/0.2336, allocations: 1.945 MB / 0.7282 GB, free: 15.18 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008645/0.2423, allocations: 7.337 MB / 0.7354 GB, free: 7.824 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01524/0.2576, allocations: 11.61 MB / 0.7467 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004726/0.2623, allocations: 3.216 MB / 0.7499 GB, free: 8.883 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00477/0.2671, allocations: 3.649 MB / 0.7534 GB, free: 5.223 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001125/0.2683, allocations: 0.6484 MB / 0.7541 GB, free: 4.574 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003229/0.2715, allocations: 1.775 MB / 0.7558 GB, free: 2.797 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.002228/0.2737, allocations: 2.546 MB / 0.7583 GB, free: 252 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.002902/0.2767, allocations: 2.891 MB / 0.7611 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00893/0.2856, allocations: 10.15 MB / 0.771 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.2856, allocations: 0 / 0.771 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2857, allocations: 0 / 0.771 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0002761/0.2859, allocations: 0 / 0.771 GB, free: 3.16 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.2638/0.5497, allocations: 4.989 MB / 0.7759 GB, free: 87.03 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.5498, allocations: 11.67 kB / 0.7759 GB, free: 87.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005487/0.5553, allocations: 0.9535 MB / 0.7768 GB, free: 86.74 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005361/0.5607, allocations: 2.864 MB / 0.7796 GB, free: 85.3 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002762/0.561, allocations: 344 kB / 0.78 GB, free: 85.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.562, allocations: 470.9 kB / 0.7804 GB, free: 85 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/0.5766, allocations: 7.658 MB / 0.7879 GB, free: 81.7 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001699/0.5768, allocations: 31.78 kB / 0.7879 GB, free: 81.68 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006044/0.5774, allocations: 208.7 kB / 0.7881 GB, free: 81.54 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004203/0.5778, allocations: 307.4 kB / 0.7884 GB, free: 81.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01311/0.5909, allocations: 5.713 MB / 0.794 GB, free: 79.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03255/0.6235, allocations: 35.09 MB / 0.8283 GB, free: 47.59 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002172/0.6257, allocations: 2.156 MB / 0.8304 GB, free: 46.12 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001241/0.627, allocations: 1.272 MB / 0.8316 GB, free: 45.45 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.434e-05/0.6271, allocations: 13.19 kB / 0.8316 GB, free: 45.45 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/0.6271, allocations: 47.78 kB / 0.8317 GB, free: 45.39 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=133): time 2.816e-06/0.6271, allocations: 0 / 0.8317 GB, free: 45.39 MB / 0.5606 GB Notification: Performance of matching and sorting (n=136): time 0.01171/0.6389, allocations: 7.078 MB / 0.8386 GB, free: 40.28 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.6389, allocations: 72.66 kB / 0.8386 GB, free: 40.2 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.6409, allocations: 1.484 MB / 0.8401 GB, free: 38.66 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.641, allocations: 48.7 kB / 0.8401 GB, free: 38.61 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007671/0.6418, allocations: 2 MB / 0.8421 GB, free: 36.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003202/0.6421, allocations: 496.5 kB / 0.8426 GB, free: 36.11 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004373/0.6426, allocations: 347.2 kB / 0.8429 GB, free: 35.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.353e-05/0.6426, allocations: 305.1 kB / 0.8432 GB, free: 35.47 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001036/0.6437, allocations: 0.9213 MB / 0.8441 GB, free: 34.55 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.6449, allocations: 1.593 MB / 0.8456 GB, free: 32.64 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/0.6475, allocations: 2.733 MB / 0.8483 GB, free: 29.6 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.697e-05/0.6475, allocations: 12 kB / 0.8483 GB, free: 29.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005396/0.6529, allocations: 3.526 MB / 0.8518 GB, free: 26.01 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.653, allocations: 12 kB / 0.8518 GB, free: 26 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/0.653, allocations: 24 kB / 0.8518 GB, free: 25.98 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/0.6553, allocations: 0.9042 MB / 0.8527 GB, free: 25.04 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.6563, allocations: 355.3 kB / 0.853 GB, free: 24.69 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/0.672, allocations: 23.12 MB / 0.8756 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001905/0.6739, allocations: 95.97 kB / 0.8757 GB, free: 15.83 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003471/0.6743, allocations: 87.98 kB / 0.8758 GB, free: 15.75 MB / 0.5762 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.003156/0.6775, allocations: 1.612 MB / 0.8773 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005469/0.678, allocations: 201.6 kB / 0.8775 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00553/0.6836, allocations: 3.002 MB / 0.8805 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.39e-05/0.6836, allocations: 16 kB / 0.8805 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.256e-05/0.6836, allocations: 8 kB / 0.8805 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.897e-05/0.6837, allocations: 7.969 kB / 0.8805 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01294/0.6966, allocations: 7.35 MB / 0.8877 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.42e-05/0.6967, allocations: 8 kB / 0.8877 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007737/0.6974, allocations: 171.7 kB / 0.8878 GB, free: 3.113 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002381/0.6998, allocations: 0.8252 MB / 0.8887 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000121/0.7, allocations: 28 kB / 0.8887 GB, free: 2.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0197/0.7197, allocations: 21.95 MB / 0.9101 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/0.7197, allocations: 11.88 kB / 0.9101 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005799/0.7255, allocations: 3.023 MB / 0.9131 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001175/0.7267, allocations: 458.5 kB / 0.9135 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006105/0.7274, allocations: 31.94 kB / 0.9136 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/0.7286, allocations: 75.91 kB / 0.9136 GB, free: 6.871 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004106/0.729, allocations: 124.7 kB / 0.9137 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.576e-05/0.7291, allocations: 40 kB / 0.9138 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001747/0.7309, allocations: 0.9756 MB / 0.9147 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.9e-07/0.7309, allocations: 0 / 0.9147 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00357/0.7345, allocations: 0.7852 MB / 0.9155 GB, free: 4.926 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.0003187/0.7348, allocations: 143 kB / 0.9156 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.007533/0.7424, allocations: 4.647 MB / 0.9202 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.7424, allocations: 256 / 0.9202 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003746/0.7461, allocations: 2.738 MB / 0.9228 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003996/0.7502, allocations: 0.741 MB / 0.9236 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.7658, allocations: 9.159 MB / 0.9325 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004341/0.7702, allocations: 3.108 MB / 0.9356 GB, free: 52 kB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001565/0.7717, allocations: 458 kB / 0.936 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.772, allocations: 111.4 kB / 0.9361 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of SimCode: time 1.713e-06/0.772, allocations: 0 / 0.9361 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of Templates: time 0.06714/0.8392, allocations: 36.03 MB / 0.9713 GB, free: 11.94 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)