Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") translateModel(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, 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.001367/0.001368, allocations: 194.7 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.309/1.309, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002127/0.002127, allocations: 287 kB / 290.7 MB, free: 2.008 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9322/0.9322, allocations: 169.3 MB / 0.4982 GB, free: 13.87 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001728/0.001728, allocations: 95.64 kB / 0.5952 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1496, allocations: 86.98 MB / 0.6802 GB, free: 0.6445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.0351/0.1847, allocations: 30.74 MB / 0.7102 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02015/0.2049, allocations: 13.58 MB / 0.7235 GB, free: 4.191 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002943/0.2079, allocations: 143.2 kB / 0.7236 GB, free: 4.051 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.008071/0.216, allocations: 3.207 MB / 0.7268 GB, free: 0.8359 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007382/0.2234, allocations: 2.653 MB / 0.7293 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.005549/0.229, allocations: 2.019 MB / 0.7313 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01031/0.2394, allocations: 7.621 MB / 0.7388 GB, free: 4.508 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/0.2522, allocations: 8.299 MB / 0.7469 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005622/0.2578, allocations: 3.393 MB / 0.7502 GB, free: 8.688 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005543/0.2634, allocations: 3.383 MB / 0.7535 GB, free: 5.293 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00261/0.266, allocations: 0.5977 MB / 0.7541 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004722/0.2708, allocations: 1.49 MB / 0.7555 GB, free: 3.203 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.003366/0.2742, allocations: 2.37 MB / 0.7578 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.005331/0.2795, allocations: 2.878 MB / 0.7606 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01106/0.2906, allocations: 9.406 MB / 0.7698 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.024e-06/0.2907, allocations: 0 / 0.7698 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.144e-06/0.2907, allocations: 0 / 0.7698 GB, free: 4.504 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000338/0.291, allocations: 0 / 0.7698 GB, free: 4.504 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.3052/0.5962, allocations: 5.116 MB / 0.7748 GB, free: 87.09 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.5963, allocations: 9.312 kB / 0.7748 GB, free: 87.09 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006728/0.603, allocations: 0.9987 MB / 0.7758 GB, free: 86.83 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006417/0.6095, allocations: 2.897 MB / 0.7786 GB, free: 85.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/0.6098, allocations: 318.7 kB / 0.7789 GB, free: 85.38 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/0.6112, allocations: 419.8 kB / 0.7793 GB, free: 85.25 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01313/0.6244, allocations: 6.787 MB / 0.786 GB, free: 82.36 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001506/0.6245, allocations: 19.78 kB / 0.786 GB, free: 82.35 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007917/0.6253, allocations: 191 kB / 0.7862 GB, free: 82.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000863/0.6262, allocations: 367.8 kB / 0.7865 GB, free: 82.18 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009696/0.6359, allocations: 5.117 MB / 0.7915 GB, free: 80.38 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03078/0.6667, allocations: 30.75 MB / 0.8215 GB, free: 53.36 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.6687, allocations: 1.39 MB / 0.8229 GB, free: 52.62 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001503/0.6702, allocations: 1.326 MB / 0.8242 GB, free: 51.96 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 8.08e-05/0.6703, allocations: 13.81 kB / 0.8242 GB, free: 51.96 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.6703, allocations: 58.28 kB / 0.8243 GB, free: 51.9 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 3.597e-06/0.6703, allocations: 3.938 kB / 0.8243 GB, free: 51.9 MB / 0.5606 GB Notification: Performance of matching and sorting (n=199): time 0.08065/0.751, allocations: 23.06 MB / 0.8468 GB, free: 32.73 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.294e-05/0.7511, allocations: 73.41 kB / 0.8469 GB, free: 32.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002169/0.7532, allocations: 2.066 MB / 0.8489 GB, free: 30.56 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001937/0.7534, allocations: 65.64 kB / 0.8489 GB, free: 30.49 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000763/0.7542, allocations: 2.006 MB / 0.8509 GB, free: 28.47 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004049/0.7546, allocations: 0.6725 MB / 0.8516 GB, free: 27.8 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000579/0.7552, allocations: 408.2 kB / 0.8519 GB, free: 27.39 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.43e-05/0.7552, allocations: 309.1 kB / 0.8522 GB, free: 27.09 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.7568, allocations: 1.426 MB / 0.8536 GB, free: 25.66 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001755/0.7586, allocations: 2.013 MB / 0.8556 GB, free: 23.4 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/0.7621, allocations: 3.696 MB / 0.8592 GB, free: 19.46 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.375e-06/0.7621, allocations: 4 kB / 0.8592 GB, free: 19.46 MB / 0.5606 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.008903/0.771, allocations: 5.664 MB / 0.8647 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.7711, allocations: 13 kB / 0.8648 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.7711, allocations: 16 kB / 0.8648 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00591/0.777, allocations: 2.097 MB / 0.8668 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001449/0.7785, allocations: 379.4 kB / 0.8672 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03417/0.8127, allocations: 38.46 MB / 0.9047 GB, free: 2.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002464/0.8152, allocations: 131.8 kB / 0.9049 GB, free: 2.109 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002024/0.8154, allocations: 92 kB / 0.9049 GB, free: 2.02 MB / 0.5919 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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%), (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.002219/0.8176, allocations: 1.509 MB / 0.9064 GB, free: 0.5 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004975/0.8181, allocations: 280.7 kB / 0.9067 GB, free: 228 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009786/0.8279, allocations: 5.238 MB / 0.9118 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.759e-05/0.828, allocations: 20 kB / 0.9118 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.551e-05/0.828, allocations: 16 kB / 0.9118 GB, free: 11 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-05/0.8281, allocations: 11.91 kB / 0.9118 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01701/0.8451, allocations: 9.672 MB / 0.9213 GB, free: 1.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.8451, allocations: 8.844 kB / 0.9213 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008066/0.846, allocations: 215.6 kB / 0.9215 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005539/0.8515, allocations: 1.856 MB / 0.9233 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000146/0.8517, allocations: 47.98 kB / 0.9234 GB, free: 14.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03462/0.8863, allocations: 37.47 MB / 0.96 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.073e-06/0.8863, allocations: 4 kB / 0.96 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008616/0.8949, allocations: 4.92 MB / 0.9648 GB, free: 1.887 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001298/0.8963, allocations: 0.6147 MB / 0.9654 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006046/0.8969, allocations: 45.3 kB / 0.9654 GB, free: 1.207 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001706/0.8986, allocations: 127.8 kB / 0.9655 GB, free: 1.082 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006314/0.8992, allocations: 193.5 kB / 0.9657 GB, free: 0.8945 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.8994, allocations: 52 kB / 0.9658 GB, free: 0.8438 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00213/0.9015, allocations: 1.382 MB / 0.9671 GB, free: 15.45 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9015, allocations: 0 / 0.9671 GB, free: 15.45 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.003364/0.9049, allocations: 1.051 MB / 0.9681 GB, free: 14.4 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003149/0.9052, allocations: 168.7 kB / 0.9683 GB, free: 14.23 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01155/0.9168, allocations: 7.207 MB / 0.9753 GB, free: 6.816 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/0.9168, allocations: 7.938 kB / 0.9753 GB, free: 6.809 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.006594/0.9234, allocations: 4.398 MB / 0.9796 GB, free: 2.191 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004803/0.9283, allocations: 0.9994 MB / 0.9806 GB, free: 1.254 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.9431, allocations: 8.141 MB / 0.9886 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004118/0.9473, allocations: 3.127 MB / 0.9916 GB, free: 5.898 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002098/0.9494, allocations: 0.5237 MB / 0.9921 GB, free: 5.371 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004694/0.9499, allocations: 151.4 kB / 0.9923 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of SimCode: time 5.81e-07/0.9499, allocations: 0 / 0.9923 GB, free: 5.223 MB / 0.6856 GB Notification: Performance of Templates: time 0.3881/1.338, allocations: 60.02 MB / 1.051 GB, free: 227.7 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1)