Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.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_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") translateModel(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 104 kB / 15.98 MB, free: 6.348 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.001116/0.001116, allocations: 198.6 kB / 16.91 MB, free: 6.191 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.349/1.349, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7544/0.7544, allocations: 122.9 MB / 413.6 MB, free: 24 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.001311, allocations: 67.89 kB / 0.4906 GB, free: 7.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3979, allocations: 77.92 MB / 0.5667 GB, free: 32.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02221/0.4202, allocations: 20.07 MB / 0.5863 GB, free: 18.59 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01122/0.4315, allocations: 6.39 MB / 0.5925 GB, free: 13.75 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002913/0.4344, allocations: 79.59 kB / 0.5926 GB, free: 13.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005912/0.4404, allocations: 2.098 MB / 0.5947 GB, free: 12.15 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004192/0.4446, allocations: 1.089 MB / 0.5957 GB, free: 11.27 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.4478, allocations: 1.17 MB / 0.5969 GB, free: 10.34 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.005068/0.4529, allocations: 4.858 MB / 0.6016 GB, free: 7.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00778/0.4607, allocations: 6.784 MB / 0.6082 GB, free: 372 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003584/0.4643, allocations: 2.107 MB / 0.6103 GB, free: 14.25 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003836/0.4682, allocations: 2.454 MB / 0.6127 GB, free: 11.79 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001117/0.4693, allocations: 436 kB / 0.6131 GB, free: 11.36 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002799/0.4721, allocations: 0.9986 MB / 0.6141 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002925/0.4751, allocations: 1.672 MB / 0.6157 GB, free: 8.684 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004462/0.4795, allocations: 1.914 MB / 0.6176 GB, free: 6.762 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008669/0.4882, allocations: 6.528 MB / 0.624 GB, free: 220 kB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.4883, allocations: 0 / 0.624 GB, free: 220 kB / 462.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4883, allocations: 0 / 0.624 GB, free: 220 kB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002251/0.4885, allocations: 0 / 0.624 GB, free: 220 kB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008725/0.4973, allocations: 3.448 MB / 0.6273 GB, free: 12.7 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.4973, allocations: 12.62 kB / 0.6274 GB, free: 12.69 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003613/0.5009, allocations: 0.6449 MB / 0.628 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003815/0.5048, allocations: 1.932 MB / 0.6299 GB, free: 10.05 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.505, allocations: 222.3 kB / 0.6301 GB, free: 9.832 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005795/0.5056, allocations: 300.2 kB / 0.6304 GB, free: 9.539 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008905/0.5145, allocations: 4.89 MB / 0.6351 GB, free: 4.453 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-05/0.5146, allocations: 11.84 kB / 0.6352 GB, free: 4.441 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003317/0.515, allocations: 132 kB / 0.6353 GB, free: 4.312 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004709/0.5154, allocations: 229.7 kB / 0.6355 GB, free: 4.086 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006644/0.5221, allocations: 3.754 MB / 0.6392 GB, free: 328 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02402/0.5461, allocations: 21.56 MB / 0.6602 GB, free: 8.766 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00188/0.5481, allocations: 1.313 MB / 0.6615 GB, free: 7.441 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001488/0.5496, allocations: 1.049 MB / 0.6625 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.326e-05/0.5497, allocations: 21 kB / 0.6625 GB, free: 6.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.5497, allocations: 47.55 kB / 0.6626 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=107): time 3.376e-06/0.5497, allocations: 0 / 0.6626 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of matching and sorting (n=138): time 0.02446/0.5742, allocations: 8.641 MB / 0.671 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.5743, allocations: 68.66 kB / 0.6711 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00172/0.576, allocations: 1.13 MB / 0.6722 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001894/0.5762, allocations: 53.7 kB / 0.6722 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009673/0.5772, allocations: 1.296 MB / 0.6735 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004915/0.5777, allocations: 485 kB / 0.674 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000484/0.5782, allocations: 291.3 kB / 0.6743 GB, free: 10.26 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.5783, allocations: 305.1 kB / 0.6745 GB, free: 9.957 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001315/0.5796, allocations: 0.9174 MB / 0.6754 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001668/0.5813, allocations: 1.33 MB / 0.6767 GB, free: 7.535 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003163/0.5845, allocations: 2.422 MB / 0.6791 GB, free: 4.945 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.365e-06/0.5845, allocations: 4 kB / 0.6791 GB, free: 4.941 MB / 0.5137 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006331/0.5908, allocations: 3.468 MB / 0.6825 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.5909, allocations: 14.34 kB / 0.6825 GB, free: 1.441 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.931e-05/0.5909, allocations: 12 kB / 0.6825 GB, free: 1.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003342/0.5943, allocations: 1.185 MB / 0.6837 GB, free: 244 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001083/0.5954, allocations: 267.6 kB / 0.6839 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01807/0.6135, allocations: 13.85 MB / 0.6975 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/0.615, allocations: 87.97 kB / 0.6975 GB, free: 1.629 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/0.6152, allocations: 64 kB / 0.6976 GB, free: 1.566 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001842/0.617, allocations: 1.118 MB / 0.6987 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/0.6174, allocations: 158.1 kB / 0.6988 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005781/0.6231, allocations: 3.165 MB / 0.7019 GB, free: 13.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/0.6232, allocations: 23.98 kB / 0.702 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-05/0.6232, allocations: 15.94 kB / 0.702 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.424e-05/0.6232, allocations: 3.984 kB / 0.702 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01074/0.634, allocations: 6.237 MB / 0.7081 GB, free: 6.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/0.634, allocations: 4 kB / 0.7081 GB, free: 6.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005951/0.6346, allocations: 152.3 kB / 0.7082 GB, free: 6.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003058/0.6377, allocations: 1.082 MB / 0.7093 GB, free: 5.434 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001169/0.6378, allocations: 35.94 kB / 0.7093 GB, free: 5.398 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01848/0.6563, allocations: 13.54 MB / 0.7225 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/0.6564, allocations: 7.938 kB / 0.7225 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005672/0.662, allocations: 3.158 MB / 0.7256 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001009/0.6631, allocations: 423.1 kB / 0.726 GB, free: 3.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.6633, allocations: 31.94 kB / 0.7261 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007881/0.6641, allocations: 79.89 kB / 0.7261 GB, free: 3.637 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004267/0.6645, allocations: 132.7 kB / 0.7263 GB, free: 3.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.982e-05/0.6646, allocations: 36 kB / 0.7263 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00103/0.6657, allocations: 0.7632 MB / 0.727 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6657, allocations: 0 / 0.727 GB, free: 2.707 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002137/0.6678, allocations: 0.664 MB / 0.7277 GB, free: 2.043 MB / 0.5606 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002871/0.6681, allocations: 143.1 kB / 0.7278 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006996/0.6751, allocations: 3.623 MB / 0.7314 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/0.6752, allocations: 4.125 kB / 0.7314 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003158/0.6783, allocations: 1.955 MB / 0.7333 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002425/0.6808, allocations: 0.4926 MB / 0.7338 GB, free: 11.76 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/0.6918, allocations: 6.737 MB / 0.7403 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002634/0.6945, allocations: 2.34 MB / 0.7426 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00126/0.6958, allocations: 350.1 kB / 0.743 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.696, allocations: 87.44 kB / 0.743 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/0.696, allocations: 4 kB / 0.743 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of Templates: time 0.3168/1.013, allocations: 32.83 MB / 0.7751 GB, free: 143.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.makefile (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & ./IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1)