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.001175/0.001175, allocations: 106.2 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.001284/0.001284, allocations: 195.2 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7873/0.7873, allocations: 115.3 MB / 406.6 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 67.89 kB / 493.6 MB, free: 0.8398 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3704, allocations: 76.17 MB / 0.5564 GB, free: 36.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02472/0.3951, allocations: 26.41 MB / 0.5822 GB, free: 18.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01335/0.4085, allocations: 8.071 MB / 0.5901 GB, free: 13.27 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003504/0.4121, allocations: 107.5 kB / 0.5902 GB, free: 13.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006453/0.4186, allocations: 2.566 MB / 0.5927 GB, free: 11.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006541/0.4251, allocations: 1.489 MB / 0.5941 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004485/0.4296, allocations: 1.538 MB / 0.5956 GB, free: 9.461 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009737/0.4394, allocations: 8.697 MB / 0.6041 GB, free: 3.883 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01056/0.45, allocations: 8.203 MB / 0.6121 GB, free: 11.63 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004239/0.4542, allocations: 2.191 MB / 0.6143 GB, free: 9.434 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004579/0.4588, allocations: 2.885 MB / 0.6171 GB, free: 6.539 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009875/0.4598, allocations: 344 kB / 0.6174 GB, free: 6.203 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003245/0.4631, allocations: 1.338 MB / 0.6187 GB, free: 4.863 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002248/0.4654, allocations: 1.886 MB / 0.6206 GB, free: 2.973 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003452/0.4688, allocations: 2.185 MB / 0.6227 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006846/0.4757, allocations: 6.801 MB / 0.6293 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.4757, allocations: 0 / 0.6293 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4757, allocations: 0 / 0.6293 GB, free: 9.957 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002304/0.476, allocations: 0 / 0.6293 GB, free: 9.957 MB / 478.1 MB 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.01006/0.486, allocations: 4.224 MB / 0.6335 GB, free: 5.672 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.4861, allocations: 8.031 kB / 0.6335 GB, free: 5.664 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00451/0.4906, allocations: 0.8078 MB / 0.6343 GB, free: 4.852 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004646/0.4953, allocations: 2.424 MB / 0.6366 GB, free: 2.371 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002088/0.4955, allocations: 279.6 kB / 0.6369 GB, free: 2.098 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008401/0.4964, allocations: 372.5 kB / 0.6373 GB, free: 1.734 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01064/0.507, allocations: 5.988 MB / 0.6431 GB, free: 11.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.33e-05/0.5072, allocations: 15.84 kB / 0.6431 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003967/0.5076, allocations: 164 kB / 0.6433 GB, free: 11.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005997/0.5082, allocations: 290.8 kB / 0.6436 GB, free: 11.03 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007904/0.5161, allocations: 4.512 MB / 0.648 GB, free: 6.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0308/0.5469, allocations: 27.66 MB / 0.675 GB, free: 8.348 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001692/0.5486, allocations: 1.128 MB / 0.6761 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001316/0.55, allocations: 1.011 MB / 0.6771 GB, free: 6.199 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 7.509e-05/0.5501, allocations: 13 kB / 0.6771 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.425e-05/0.5501, allocations: 43.56 kB / 0.6771 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 2.985e-06/0.5501, allocations: 0 / 0.6771 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131): time 0.02226/0.5724, allocations: 9.668 MB / 0.6866 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.004e-05/0.5725, allocations: 68.72 kB / 0.6866 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002396/0.5749, allocations: 1.49 MB / 0.6881 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/0.575, allocations: 49.7 kB / 0.6881 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001145/0.5762, allocations: 1.659 MB / 0.6897 GB, free: 8.945 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004364/0.5766, allocations: 477.2 kB / 0.6902 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005626/0.5772, allocations: 331.2 kB / 0.6905 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001045/0.5773, allocations: 313 kB / 0.6908 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.5787, allocations: 0.9174 MB / 0.6917 GB, free: 6.918 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.5805, allocations: 1.459 MB / 0.6931 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003252/0.5837, allocations: 2.546 MB / 0.6956 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.672e-05/0.5837, allocations: 8 kB / 0.6956 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005994/0.5897, allocations: 3.286 MB / 0.6988 GB, free: 15.1 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.5898, allocations: 16.06 kB / 0.6989 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.5898, allocations: 23.98 kB / 0.6989 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002372/0.5922, allocations: 0.7373 MB / 0.6996 GB, free: 14.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/0.5938, allocations: 383.4 kB / 0.7 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01678/0.6106, allocations: 15.75 MB / 0.7153 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001889/0.6125, allocations: 107.9 kB / 0.7154 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003855/0.613, allocations: 72 kB / 0.7155 GB, free: 12.79 MB / 0.5606 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.002713/0.6157, allocations: 1.312 MB / 0.7168 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006483/0.6163, allocations: 209.6 kB / 0.717 GB, free: 11.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005933/0.6223, allocations: 2.78 MB / 0.7197 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.6223, allocations: 12 kB / 0.7197 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.952e-05/0.6224, allocations: 8.188 kB / 0.7197 GB, free: 8.418 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.6224, allocations: 7.969 kB / 0.7197 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.013/0.6354, allocations: 6.225 MB / 0.7258 GB, free: 2.023 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/0.6355, allocations: 4 kB / 0.7258 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/0.6368, allocations: 235.6 kB / 0.726 GB, free: 1.789 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002239/0.6391, allocations: 0.6671 MB / 0.7267 GB, free: 1.094 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/0.6393, allocations: 36 kB / 0.7267 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0164/0.6557, allocations: 15.52 MB / 0.7419 GB, free: 344 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.6557, allocations: 4 kB / 0.7419 GB, free: 340 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007268/0.663, allocations: 4.012 MB / 0.7458 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001071/0.6641, allocations: 450.6 kB / 0.7462 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000502/0.6646, allocations: 32 kB / 0.7463 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.6658, allocations: 79.89 kB / 0.7463 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003753/0.6662, allocations: 116.7 kB / 0.7465 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001477/0.6664, allocations: 47.88 kB / 0.7465 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001775/0.6682, allocations: 0.9942 MB / 0.7475 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6682, allocations: 0 / 0.7475 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002742/0.6709, allocations: 0.6875 MB / 0.7481 GB, free: 9.805 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.0003465/0.6713, allocations: 150.9 kB / 0.7483 GB, free: 9.648 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005599/0.6769, allocations: 3.507 MB / 0.7517 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6769, allocations: 0 / 0.7517 GB, free: 6.031 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003382/0.6803, allocations: 2.296 MB / 0.754 GB, free: 3.621 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003349/0.6837, allocations: 0.6136 MB / 0.7546 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2679/0.9516, allocations: 8.614 MB / 0.763 GB, free: 168.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003392/0.955, allocations: 2.719 MB / 0.7656 GB, free: 167.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006829/0.9558, allocations: 129.3 kB / 0.7657 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of SimCode: time 9.42e-07/0.9558, allocations: 0 / 0.7657 GB, free: 167.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.1632/1.119, allocations: 209.6 MB / 0.9704 GB, free: 13.38 MB / 0.6231 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)