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.001199/0.001199, allocations: 106.3 kB / 16.4 MB, free: 6.449 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.001295/0.001296, allocations: 193.2 kB / 17.34 MB, free: 5.719 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.377/1.377, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6994/0.6994, allocations: 115.3 MB / 406.5 MB, free: 6.148 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 64.86 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1249/0.1261, allocations: 76.18 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.02897/0.1551, allocations: 26.65 MB / 0.6581 GB, free: 9.664 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01399/0.1692, allocations: 8.082 MB / 0.666 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002313/0.1715, allocations: 115.4 kB / 0.6661 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.006737/0.1783, allocations: 2.771 MB / 0.6688 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.005081/0.1834, allocations: 1.664 MB / 0.6704 GB, free: 13 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004197/0.1876, allocations: 1.668 MB / 0.6721 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006881/0.1945, allocations: 6.162 MB / 0.6781 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008202/0.2027, allocations: 7.312 MB / 0.6852 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004201/0.207, allocations: 2.617 MB / 0.6878 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004267/0.2112, allocations: 2.835 MB / 0.6906 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/0.2123, allocations: 0.5117 MB / 0.6911 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002503/0.2148, allocations: 1.279 MB / 0.6923 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.002026/0.2169, allocations: 2.05 MB / 0.6943 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00276/0.2196, allocations: 2.381 MB / 0.6966 GB, free: 2.023 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00904/0.2287, allocations: 8.059 MB / 0.7045 GB, free: 9.941 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.2287, allocations: 0 / 0.7045 GB, free: 9.941 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.485e-06/0.2287, allocations: 0 / 0.7045 GB, free: 9.941 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001834/0.2289, allocations: 0 / 0.7045 GB, free: 9.941 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.009685/0.2386, allocations: 4.232 MB / 0.7086 GB, free: 5.645 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.2387, allocations: 8.031 kB / 0.7086 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004193/0.2429, allocations: 0.8001 MB / 0.7094 GB, free: 4.832 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004671/0.2476, allocations: 2.58 MB / 0.7119 GB, free: 2.195 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.2478, allocations: 271.6 kB / 0.7122 GB, free: 1.93 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000689/0.2485, allocations: 376.5 kB / 0.7126 GB, free: 1.562 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009427/0.2579, allocations: 5.992 MB / 0.7184 GB, free: 11.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.142e-05/0.258, allocations: 19.77 kB / 0.7184 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003649/0.2584, allocations: 160 kB / 0.7186 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005742/0.259, allocations: 282.9 kB / 0.7189 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007044/0.266, allocations: 4.524 MB / 0.7233 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0255/0.2915, allocations: 27.45 MB / 0.7501 GB, free: 8.371 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.2932, allocations: 1.12 MB / 0.7512 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.2945, allocations: 1.011 MB / 0.7522 GB, free: 6.23 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 6.65e-05/0.2946, allocations: 20.92 kB / 0.7522 GB, free: 6.207 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.2946, allocations: 51.56 kB / 0.7522 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=110): time 3.196e-06/0.2946, allocations: 0 / 0.7522 GB, free: 6.148 MB / 0.5919 GB Notification: Performance of matching and sorting (n=131): time 0.3108/0.6055, allocations: 9.652 MB / 0.7617 GB, free: 114.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.446e-05/0.6056, allocations: 65.81 kB / 0.7617 GB, free: 114.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002724/0.6083, allocations: 1.501 MB / 0.7632 GB, free: 113.6 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/0.6085, allocations: 47.36 kB / 0.7632 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001366/0.6099, allocations: 1.661 MB / 0.7649 GB, free: 112.3 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004191/0.6103, allocations: 473.4 kB / 0.7653 GB, free: 111.9 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005579/0.6109, allocations: 336 kB / 0.7656 GB, free: 111.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 5.106e-05/0.611, allocations: 306 kB / 0.7659 GB, free: 111.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001515/0.6125, allocations: 0.9162 MB / 0.7668 GB, free: 111.1 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.614, allocations: 1.459 MB / 0.7682 GB, free: 110.1 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002829/0.6169, allocations: 2.553 MB / 0.7707 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.298e-05/0.6169, allocations: 4.781 kB / 0.7707 GB, free: 108.5 MB / 0.5919 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.006422/0.6233, allocations: 3.284 MB / 0.7739 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.6234, allocations: 13.41 kB / 0.774 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.827e-05/0.6234, allocations: 18.3 kB / 0.774 GB, free: 107.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002401/0.6258, allocations: 0.7389 MB / 0.7747 GB, free: 106.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001597/0.6275, allocations: 393.3 kB / 0.7751 GB, free: 106.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01312/0.6406, allocations: 17.05 MB / 0.7917 GB, free: 92.27 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001698/0.6423, allocations: 101.6 kB / 0.7918 GB, free: 92.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.6425, allocations: 75.56 kB / 0.7919 GB, free: 92.23 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.00184/0.6443, allocations: 1.303 MB / 0.7932 GB, free: 91.63 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002999/0.6446, allocations: 208.5 kB / 0.7934 GB, free: 91.53 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004291/0.6489, allocations: 2.786 MB / 0.7961 GB, free: 90.35 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.858e-06/0.6489, allocations: 15.66 kB / 0.7961 GB, free: 90.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/0.649, allocations: 7.906 kB / 0.7961 GB, free: 90.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.649, allocations: 7.594 kB / 0.7961 GB, free: 90.34 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008349/0.6573, allocations: 6.215 MB / 0.8022 GB, free: 86.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.6574, allocations: 3.781 kB / 0.8022 GB, free: 86.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001114/0.6585, allocations: 234.2 kB / 0.8024 GB, free: 86.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001811/0.6603, allocations: 0.6685 MB / 0.8031 GB, free: 86.37 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.523e-05/0.6604, allocations: 27.22 kB / 0.8031 GB, free: 86.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01124/0.6716, allocations: 16.78 MB / 0.8195 GB, free: 69.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.6717, allocations: 8 kB / 0.8195 GB, free: 69.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005058/0.6767, allocations: 4.007 MB / 0.8234 GB, free: 65.66 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007766/0.6775, allocations: 458.6 kB / 0.8238 GB, free: 65.19 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002427/0.6778, allocations: 36.69 kB / 0.8239 GB, free: 65.15 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008848/0.6787, allocations: 79.89 kB / 0.8239 GB, free: 65.07 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002567/0.6789, allocations: 116.7 kB / 0.8241 GB, free: 64.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.661e-05/0.679, allocations: 40 kB / 0.8241 GB, free: 64.92 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001032/0.6801, allocations: 0.9903 MB / 0.8251 GB, free: 63.94 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6801, allocations: 0 / 0.8251 GB, free: 63.94 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002044/0.6821, allocations: 0.6836 MB / 0.8257 GB, free: 63.26 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.0002061/0.6823, allocations: 156.1 kB / 0.8259 GB, free: 63.09 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.004134/0.6865, allocations: 3.523 MB / 0.8293 GB, free: 59.46 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.6865, allocations: 0 / 0.8293 GB, free: 59.46 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002496/0.689, allocations: 2.294 MB / 0.8316 GB, free: 57.06 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/0.6915, allocations: 0.681 MB / 0.8322 GB, free: 56.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008772/0.7003, allocations: 6.462 MB / 0.8385 GB, free: 49.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002031/0.7024, allocations: 2.66 MB / 0.8411 GB, free: 47.23 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001354/0.7037, allocations: 485.4 kB / 0.8416 GB, free: 46.75 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003009/0.7041, allocations: 119.4 kB / 0.8417 GB, free: 46.64 MB / 0.5919 GB Notification: Performance of SimCode: time 2.094e-06/0.7041, allocations: 0 / 0.8417 GB, free: 46.64 MB / 0.5919 GB Notification: Performance of Templates: time 0.04495/0.749, allocations: 34.13 MB / 0.875 GB, free: 13.02 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)