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.0008443/0.0008442, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009463/0.0009464, allocations: 178.2 kB / 16.58 MB, free: 6.52 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.385/1.385, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7045/0.7045, allocations: 115.5 MB / 407.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.00032, allocations: 8 kB / 495.2 MB, free: 6.719 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1748/0.1752, allocations: 77.52 MB / 0.5593 GB, free: 9.402 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02126/0.1965, allocations: 18.39 MB / 0.5773 GB, free: 6.953 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01215/0.2087, allocations: 6.124 MB / 0.5833 GB, free: 0.8164 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001781/0.2105, allocations: 71.56 kB / 0.5833 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.2116, allocations: 396.9 kB / 0.5837 GB, free: 364 kB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.3329/0.5445, allocations: 0.9523 MB / 0.5846 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003193/0.5477, allocations: 0.7695 MB / 0.5854 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.008379/0.5561, allocations: 5.479 MB / 0.5907 GB, free: 14.21 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01167/0.5678, allocations: 6.39 MB / 0.597 GB, free: 13.35 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004201/0.5721, allocations: 1.512 MB / 0.5985 GB, free: 13.02 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005358/0.5774, allocations: 1.975 MB / 0.6004 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006343/0.5781, allocations: 177.3 kB / 0.6006 GB, free: 12.72 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002362/0.5805, allocations: 482.5 kB / 0.601 GB, free: 12.69 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002407/0.5829, allocations: 1.343 MB / 0.6023 GB, free: 12.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.5843, allocations: 0.6439 MB / 0.603 GB, free: 12.45 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006068/0.5904, allocations: 5.378 MB / 0.6082 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.5904, allocations: 1.406 kB / 0.6082 GB, free: 10.48 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.5904, allocations: 0 / 0.6082 GB, free: 10.48 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001852/0.5906, allocations: 0 / 0.6082 GB, free: 10.48 MB / 446.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.006895/0.5975, allocations: 2.856 MB / 0.611 GB, free: 8.789 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.5976, allocations: 8.812 kB / 0.611 GB, free: 8.789 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004133/0.6017, allocations: 0.6391 MB / 0.6116 GB, free: 8.5 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003991/0.6057, allocations: 1.899 MB / 0.6135 GB, free: 7.711 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001649/0.6059, allocations: 221.1 kB / 0.6137 GB, free: 7.633 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006097/0.6065, allocations: 300.6 kB / 0.614 GB, free: 7.535 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008059/0.6146, allocations: 4.864 MB / 0.6187 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.093e-05/0.6147, allocations: 11.97 kB / 0.6188 GB, free: 4.523 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000341/0.6151, allocations: 132.1 kB / 0.6189 GB, free: 4.434 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005243/0.6156, allocations: 230.9 kB / 0.6191 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006258/0.6219, allocations: 3.732 MB / 0.6227 GB, free: 2.438 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02283/0.6447, allocations: 21.6 MB / 0.6438 GB, free: 11.12 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.6464, allocations: 1.303 MB / 0.6451 GB, free: 9.812 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001403/0.6479, allocations: 1.035 MB / 0.6461 GB, free: 8.781 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.839e-05/0.6479, allocations: 13 kB / 0.6461 GB, free: 8.77 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.648, allocations: 43.56 kB / 0.6462 GB, free: 8.719 MB / 478.1 MB Notification: Performance of pre-optimization done (n=107): time 3.146e-06/0.648, allocations: 4 kB / 0.6462 GB, free: 8.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=138): time 0.02247/0.6705, allocations: 8.67 MB / 0.6546 GB, free: 15.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.6706, allocations: 64.72 kB / 0.6547 GB, free: 15.91 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001496/0.6721, allocations: 1.122 MB / 0.6558 GB, free: 14.79 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001148/0.6722, allocations: 53.7 kB / 0.6558 GB, free: 14.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008545/0.673, allocations: 1.292 MB / 0.6571 GB, free: 13.43 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004121/0.6735, allocations: 485.7 kB / 0.6576 GB, free: 12.96 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.26e-05/0.6736, allocations: 32 kB / 0.6576 GB, free: 12.93 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.6737, allocations: 373.9 kB / 0.658 GB, free: 12.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001263/0.675, allocations: 0.9057 MB / 0.6588 GB, free: 11.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/0.6765, allocations: 1.316 MB / 0.6601 GB, free: 10.17 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001544/0.6781, allocations: 1.132 MB / 0.6612 GB, free: 9.039 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.6781, allocations: 4 kB / 0.6612 GB, free: 9.035 MB / 494.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.005845/0.684, allocations: 3.457 MB / 0.6646 GB, free: 5.559 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/0.684, allocations: 9.875 kB / 0.6646 GB, free: 5.551 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.684, allocations: 15.98 kB / 0.6646 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003007/0.6871, allocations: 1.188 MB / 0.6658 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/0.688, allocations: 259.5 kB / 0.666 GB, free: 4.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.7046, allocations: 12.69 MB / 0.6784 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/0.7063, allocations: 87.97 kB / 0.6785 GB, free: 6.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003261/0.7066, allocations: 71.94 kB / 0.6786 GB, free: 6.852 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,92.0%) 17,(5,92.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002851/0.7095, allocations: 1.114 MB / 0.6797 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005311/0.71, allocations: 162.1 kB / 0.6798 GB, free: 5.566 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006289/0.7163, allocations: 3.161 MB / 0.6829 GB, free: 2.383 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.635e-05/0.7164, allocations: 17.86 kB / 0.6829 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.922e-05/0.7164, allocations: 8 kB / 0.6829 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.633e-05/0.7164, allocations: 11.97 kB / 0.683 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01377/0.7302, allocations: 6.234 MB / 0.689 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.741e-05/0.7302, allocations: 4 kB / 0.6891 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.7309, allocations: 147.8 kB / 0.6892 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002918/0.7338, allocations: 1.076 MB / 0.6902 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001132/0.7339, allocations: 32 kB / 0.6903 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01697/0.7509, allocations: 12.42 MB / 0.7024 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.057e-06/0.751, allocations: 8 kB / 0.7024 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005967/0.7569, allocations: 3.142 MB / 0.7055 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/0.7581, allocations: 431.1 kB / 0.7059 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004536/0.7586, allocations: 24 kB / 0.7059 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/0.7597, allocations: 87.89 kB / 0.706 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003776/0.76, allocations: 124.7 kB / 0.7061 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/0.7602, allocations: 36 kB / 0.7062 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001447/0.7616, allocations: 0.7593 MB / 0.7069 GB, free: 9.234 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7616, allocations: 4 kB / 0.7069 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002763/0.7644, allocations: 0.6562 MB / 0.7075 GB, free: 8.574 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002829/0.7647, allocations: 151.6 kB / 0.7077 GB, free: 8.414 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.005221/0.7699, allocations: 3.117 MB / 0.7107 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.7699, allocations: 0.75 kB / 0.7107 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.003144/0.7731, allocations: 1.973 MB / 0.7127 GB, free: 3.25 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00258/0.7757, allocations: 465.4 kB / 0.7131 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.7866, allocations: 6.465 MB / 0.7194 GB, free: 12.27 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003081/0.7897, allocations: 2.328 MB / 0.7217 GB, free: 9.91 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001238/0.791, allocations: 350.1 kB / 0.722 GB, free: 9.562 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002936/0.7913, allocations: 91.44 kB / 0.7221 GB, free: 9.473 MB / 0.545 GB Notification: Performance of SimCode: time 1.102e-06/0.7913, allocations: 0 / 0.7221 GB, free: 9.473 MB / 0.545 GB Notification: Performance of Templates: time 0.05362/0.8449, allocations: 30.19 MB / 0.7516 GB, free: 11.75 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)