Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 104.2 kB / 16.4 MB, free: 6.48 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.0009697/0.0009697, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7015/0.7015, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 62.95 kB / 0.5577 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1344, allocations: 76.19 MB / 0.6321 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02734/0.1618, allocations: 26.63 MB / 0.6581 GB, free: 9.68 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0127/0.1745, allocations: 8.094 MB / 0.666 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002113/0.1767, allocations: 115.4 kB / 0.6661 GB, free: 1.449 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006834/0.1836, allocations: 2.755 MB / 0.6688 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.00411/0.1877, allocations: 1.582 MB / 0.6704 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003918/0.1917, allocations: 1.678 MB / 0.672 GB, free: 11.42 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006614/0.1983, allocations: 6.142 MB / 0.678 GB, free: 5.258 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008781/0.2071, allocations: 7.304 MB / 0.6851 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003904/0.211, allocations: 2.621 MB / 0.6877 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004024/0.215, allocations: 2.839 MB / 0.6905 GB, free: 8.375 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0007536/0.2158, allocations: 0.5078 MB / 0.691 GB, free: 7.867 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.2182, allocations: 1.275 MB / 0.6922 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.001641/0.2198, allocations: 2.054 MB / 0.6942 GB, free: 4.531 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.002206/0.222, allocations: 2.377 MB / 0.6965 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007129/0.2292, allocations: 8.059 MB / 0.7044 GB, free: 10.06 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2292, allocations: 0 / 0.7044 GB, free: 10.06 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.195e-06/0.2292, allocations: 4 kB / 0.7044 GB, free: 10.05 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001197/0.2293, allocations: 0 / 0.7044 GB, free: 10.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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007412/0.2367, allocations: 4.232 MB / 0.7085 GB, free: 5.762 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2368, allocations: 19.95 kB / 0.7086 GB, free: 5.742 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003994/0.2408, allocations: 0.7884 MB / 0.7093 GB, free: 4.949 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004049/0.2449, allocations: 2.577 MB / 0.7118 GB, free: 2.316 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002034/0.2451, allocations: 279.6 kB / 0.7121 GB, free: 2.043 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006693/0.2458, allocations: 376.5 kB / 0.7125 GB, free: 1.676 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009298/0.2551, allocations: 5.992 MB / 0.7183 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.938e-05/0.2552, allocations: 19.78 kB / 0.7183 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003476/0.2555, allocations: 160 kB / 0.7185 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005625/0.2561, allocations: 282.9 kB / 0.7188 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006436/0.2625, allocations: 4.524 MB / 0.7232 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02318/0.2857, allocations: 27.45 MB / 0.75 GB, free: 8.484 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001389/0.2872, allocations: 1.123 MB / 0.7511 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/0.2884, allocations: 1.015 MB / 0.7521 GB, free: 6.336 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.849e-05/0.2884, allocations: 13 kB / 0.7521 GB, free: 6.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.282e-05/0.2885, allocations: 47.56 kB / 0.7521 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 2.625e-06/0.2885, allocations: 0 / 0.7521 GB, free: 6.266 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.3068/0.5953, allocations: 9.662 MB / 0.7616 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.618e-05/0.5953, allocations: 66.12 kB / 0.7616 GB, free: 114.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002014/0.5973, allocations: 1.498 MB / 0.7631 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/0.5975, allocations: 51.02 kB / 0.7631 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001349/0.5988, allocations: 1.663 MB / 0.7648 GB, free: 112.2 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000396/0.5992, allocations: 471 kB / 0.7652 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005461/0.5998, allocations: 330.2 kB / 0.7655 GB, free: 111.7 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.46e-05/0.5998, allocations: 302.6 kB / 0.7658 GB, free: 111.4 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.6012, allocations: 0.9171 MB / 0.7667 GB, free: 111 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.6026, allocations: 1.464 MB / 0.7681 GB, free: 110 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002677/0.6053, allocations: 2.551 MB / 0.7706 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.418e-06/0.6053, allocations: 5.062 kB / 0.7706 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00605/0.6114, allocations: 3.287 MB / 0.7739 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.6114, allocations: 14.62 kB / 0.7739 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.533e-05/0.6115, allocations: 20.58 kB / 0.7739 GB, free: 107.1 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/0.6137, allocations: 0.7368 MB / 0.7746 GB, free: 106.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.6152, allocations: 385.1 kB / 0.775 GB, free: 106.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.6275, allocations: 17.04 MB / 0.7916 GB, free: 92.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.6293, allocations: 99.61 kB / 0.7917 GB, free: 92.18 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001346/0.6295, allocations: 79.38 kB / 0.7918 GB, free: 92.16 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001922/0.6314, allocations: 1.302 MB / 0.7931 GB, free: 91.56 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003303/0.6317, allocations: 209.1 kB / 0.7933 GB, free: 91.45 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/0.6357, allocations: 2.79 MB / 0.796 GB, free: 90.27 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.677e-06/0.6357, allocations: 15.75 kB / 0.796 GB, free: 90.27 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.6357, allocations: 7.781 kB / 0.796 GB, free: 90.27 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.6357, allocations: 3.797 kB / 0.796 GB, free: 90.27 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007653/0.6434, allocations: 6.215 MB / 0.8021 GB, free: 86.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.6434, allocations: 7.922 kB / 0.8021 GB, free: 86.7 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.6444, allocations: 231.5 kB / 0.8023 GB, free: 86.63 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001592/0.646, allocations: 0.668 MB / 0.803 GB, free: 86.26 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.876e-05/0.6461, allocations: 35.03 kB / 0.803 GB, free: 86.23 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/0.6564, allocations: 16.78 MB / 0.8194 GB, free: 69.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6565, allocations: 4 kB / 0.8194 GB, free: 69.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004807/0.6613, allocations: 4.007 MB / 0.8233 GB, free: 65.65 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008281/0.6621, allocations: 456.1 kB / 0.8237 GB, free: 65.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002256/0.6624, allocations: 39.98 kB / 0.8238 GB, free: 65.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/0.6632, allocations: 82.7 kB / 0.8238 GB, free: 65.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/0.6635, allocations: 112.9 kB / 0.824 GB, free: 64.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.963e-05/0.6635, allocations: 44 kB / 0.824 GB, free: 64.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009933/0.6645, allocations: 0.9981 MB / 0.825 GB, free: 63.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6646, allocations: 0 / 0.825 GB, free: 63.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002184/0.6667, allocations: 0.6836 MB / 0.8256 GB, free: 63.25 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002265/0.667, allocations: 157.4 kB / 0.8258 GB, free: 63.08 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00406/0.671, allocations: 3.518 MB / 0.8292 GB, free: 59.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/0.6711, allocations: 0 / 0.8292 GB, free: 59.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002311/0.6734, allocations: 2.289 MB / 0.8315 GB, free: 57.05 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002454/0.6758, allocations: 0.6656 MB / 0.8321 GB, free: 56.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008408/0.6843, allocations: 6.465 MB / 0.8384 GB, free: 49.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.6861, allocations: 2.664 MB / 0.841 GB, free: 47.24 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001117/0.6872, allocations: 485.4 kB / 0.8415 GB, free: 46.76 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002698/0.6875, allocations: 115.4 kB / 0.8416 GB, free: 46.65 MB / 0.5919 GB Notification: Performance of SimCode: time 7.81e-07/0.6875, allocations: 3.938 kB / 0.8416 GB, free: 46.64 MB / 0.5919 GB Notification: Performance of Templates: time 0.04153/0.729, allocations: 34.13 MB / 0.8749 GB, free: 13.03 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1)