Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_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.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 101.8 kB / 16.52 MB, free: 6.656 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.001187/0.001187, allocations: 198.7 kB / 17.44 MB, free: 6.047 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7318/0.7318, allocations: 115.3 MB / 406.6 MB, free: 6.414 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 55.91 kB / 493.6 MB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3435/0.3448, allocations: 76.17 MB / 0.5564 GB, free: 36.21 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL): time 0.02206/0.3669, allocations: 22.4 MB / 0.5783 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.3779, allocations: 6.24 MB / 0.5844 GB, free: 16.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002834/0.3807, allocations: 83.75 kB / 0.5844 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004018/0.3848, allocations: 1.413 MB / 0.5858 GB, free: 15.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004907/0.3897, allocations: 1.539 MB / 0.5873 GB, free: 15.03 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003721/0.3935, allocations: 1.23 MB / 0.5885 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00942/0.4029, allocations: 8.863 MB / 0.5972 GB, free: 10.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008788/0.4117, allocations: 6.733 MB / 0.6037 GB, free: 4.094 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004117/0.4159, allocations: 2.047 MB / 0.6057 GB, free: 2.039 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004781/0.4207, allocations: 2.972 MB / 0.6086 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001441/0.4221, allocations: 316 kB / 0.6089 GB, free: 14.75 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003527/0.4257, allocations: 1.135 MB / 0.6101 GB, free: 13.61 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003164/0.4289, allocations: 1.89 MB / 0.6119 GB, free: 11.71 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003984/0.4329, allocations: 2.01 MB / 0.6139 GB, free: 9.695 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006466/0.4393, allocations: 6.15 MB / 0.6199 GB, free: 3.531 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.4394, allocations: 0 / 0.6199 GB, free: 3.531 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.4394, allocations: 0 / 0.6199 GB, free: 3.531 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002101/0.4396, allocations: 7.938 kB / 0.6199 GB, free: 3.523 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 913 * Number of variables: 913 Notification: Performance of Generate backend data structure: time 0.00842/0.4481, allocations: 3.824 MB / 0.6236 GB, free: 15.64 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.4481, allocations: 8.031 kB / 0.6236 GB, free: 15.63 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006075/0.4542, allocations: 1.21 MB / 0.6248 GB, free: 14.41 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004549/0.4588, allocations: 2.215 MB / 0.627 GB, free: 12.14 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/0.459, allocations: 238.4 kB / 0.6272 GB, free: 11.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000885/0.4599, allocations: 323.8 kB / 0.6275 GB, free: 11.59 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01182/0.4717, allocations: 6.216 MB / 0.6336 GB, free: 5.117 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001158/0.4719, allocations: 15.88 kB / 0.6336 GB, free: 5.102 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006427/0.4725, allocations: 136 kB / 0.6337 GB, free: 4.969 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004885/0.473, allocations: 406.3 kB / 0.6341 GB, free: 4.57 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008325/0.4814, allocations: 4.662 MB / 0.6387 GB, free: 15.89 MB / 494.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/0.5131, allocations: 29.13 MB / 0.6671 GB, free: 56 kB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002063/0.5151, allocations: 1.424 MB / 0.6685 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.5172, allocations: 1.483 MB / 0.6699 GB, free: 13.13 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.5173, allocations: 16.84 kB / 0.67 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.213e-05/0.5174, allocations: 43.56 kB / 0.67 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 3.196e-06/0.5174, allocations: 4 kB / 0.67 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of matching and sorting (n=179): time 0.133/0.6504, allocations: 37.23 MB / 0.7064 GB, free: 7.758 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/0.6505, allocations: 69.41 kB / 0.7064 GB, free: 7.68 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002307/0.6528, allocations: 1.423 MB / 0.7078 GB, free: 6.25 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002753/0.6531, allocations: 53.7 kB / 0.7079 GB, free: 6.191 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009875/0.6541, allocations: 1.539 MB / 0.7094 GB, free: 4.633 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007148/0.6548, allocations: 0.6084 MB / 0.71 GB, free: 4.016 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008801/0.6557, allocations: 383.3 kB / 0.7103 GB, free: 3.633 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.6558, allocations: 305.1 kB / 0.7106 GB, free: 3.332 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002643/0.6584, allocations: 1.784 MB / 0.7124 GB, free: 1.543 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003042/0.6615, allocations: 2.354 MB / 0.7147 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005877/0.6674, allocations: 4.387 MB / 0.7189 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.599e-05/0.6674, allocations: 4 kB / 0.719 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01825/0.6857, allocations: 8.567 MB / 0.7273 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 4.067e-05/0.6858, allocations: 12 kB / 0.7273 GB, free: 1.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-05/0.6858, allocations: 20 kB / 0.7273 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01488/0.7007, allocations: 4.64 MB / 0.7319 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.7019, allocations: 303.4 kB / 0.7322 GB, free: 12.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3123/1.014, allocations: 29.66 MB / 0.7611 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001973/1.016, allocations: 149.4 kB / 0.7613 GB, free: 148 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002272/1.016, allocations: 82.67 kB / 0.7614 GB, free: 148 MB / 0.5762 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 (157): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(11,13,90.1%), (11,13,91.7%), (6,12,100.0%), (6,12,100.0%), (6,6,100.0%), (6,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002269/1.019, allocations: 1.328 MB / 0.7627 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/1.019, allocations: 201.5 kB / 0.7628 GB, free: 147.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01699/1.036, allocations: 8.436 MB / 0.7711 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/1.036, allocations: 20.53 kB / 0.7711 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.75e-05/1.036, allocations: 27.03 kB / 0.7711 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.2e-05/1.036, allocations: 12.05 kB / 0.7711 GB, free: 144.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02228/1.059, allocations: 12.85 MB / 0.7837 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.129e-05/1.059, allocations: 7.656 kB / 0.7837 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006583/1.059, allocations: 161 kB / 0.7839 GB, free: 140.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0131/1.073, allocations: 4.489 MB / 0.7882 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000328/1.073, allocations: 39.53 kB / 0.7883 GB, free: 138.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0349/1.108, allocations: 29.27 MB / 0.8169 GB, free: 112.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-06/1.108, allocations: 11.94 kB / 0.8169 GB, free: 112 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01438/1.122, allocations: 8.24 MB / 0.8249 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.124, allocations: 0.6079 MB / 0.8255 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006066/1.124, allocations: 48.27 kB / 0.8256 GB, free: 103 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001489/1.126, allocations: 135.8 kB / 0.8257 GB, free: 102.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008241/1.127, allocations: 172.8 kB / 0.8258 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/1.127, allocations: 52 kB / 0.8259 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00132/1.128, allocations: 0.9666 MB / 0.8268 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.01e-07/1.128, allocations: 0 / 0.8268 GB, free: 101.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003655/1.132, allocations: 1.117 MB / 0.8279 GB, free: 100.6 MB / 0.5762 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 (80): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(6,6,100.0%), (6,12,100.0%), (11,13,91.7%), (6,6,100.0%), (6,12,100.0%), (11,13,91.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003266/1.132, allocations: 149 kB / 0.8281 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0105/1.143, allocations: 6.513 MB / 0.8344 GB, free: 93.86 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.266e-05/1.143, allocations: 0 / 0.8344 GB, free: 93.86 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.007794/1.151, allocations: 4.367 MB / 0.8387 GB, free: 89.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003078/1.154, allocations: 489.6 kB / 0.8392 GB, free: 88.97 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/1.166, allocations: 8.954 MB / 0.8479 GB, free: 79.96 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003165/1.169, allocations: 2.801 MB / 0.8506 GB, free: 77.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004076/1.17, allocations: 103.4 kB / 0.8507 GB, free: 77.02 MB / 0.5762 GB Notification: Performance of SimCode: time 1.433e-06/1.17, allocations: 0 / 0.8507 GB, free: 77.02 MB / 0.5762 GB Notification: Performance of Templates: time 0.4003/1.57, allocations: 154 MB / 1.001 GB, free: 208.5 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RL.pipe 2>&1)