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.0008345/0.0008344, allocations: 91.77 kB / 16.66 MB, free: 6.344 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.0009565/0.0009566, allocations: 181 kB / 17.58 MB, free: 5.965 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.354/1.354, allocations: 223.3 MB / 241.6 MB, free: 14.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.7433/0.7433, allocations: 115.5 MB / 408.2 MB, free: 7.098 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004259/0.0004262, allocations: 12 kB / 496.5 MB, free: 15.7 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3952, allocations: 77.52 MB / 0.5606 GB, free: 35.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02641/0.4217, allocations: 25.71 MB / 0.5857 GB, free: 18.04 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01491/0.4367, allocations: 8.003 MB / 0.5935 GB, free: 12.56 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00385/0.4406, allocations: 98.16 kB / 0.5936 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002168/0.4428, allocations: 0.526 MB / 0.5941 GB, free: 12.21 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005712/0.4485, allocations: 1.484 MB / 0.5956 GB, free: 11.34 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004813/0.4533, allocations: 1.399 MB / 0.5969 GB, free: 10.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01229/0.4656, allocations: 8.708 MB / 0.6054 GB, free: 5.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0142/0.4799, allocations: 9.164 MB / 0.6144 GB, free: 12.21 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004158/0.4841, allocations: 1.847 MB / 0.6162 GB, free: 10.36 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004576/0.4887, allocations: 2.464 MB / 0.6186 GB, free: 7.887 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001153/0.4899, allocations: 212 kB / 0.6188 GB, free: 7.68 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003973/0.4938, allocations: 1.201 MB / 0.62 GB, free: 6.477 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002904/0.4968, allocations: 1.668 MB / 0.6216 GB, free: 4.805 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004118/0.5009, allocations: 1.957 MB / 0.6235 GB, free: 2.832 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008085/0.509, allocations: 6.658 MB / 0.63 GB, free: 12.16 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.5091, allocations: 0 / 0.63 GB, free: 12.16 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.5091, allocations: 4 kB / 0.63 GB, free: 12.15 MB / 478.1 MB Notification: Performance of Transformations before backend: time 0.0002675/0.5094, allocations: 0 / 0.63 GB, free: 12.15 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.008984/0.5184, allocations: 3.413 MB / 0.6334 GB, free: 8.676 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.5184, allocations: 16.02 kB / 0.6334 GB, free: 8.66 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/0.5238, allocations: 0.8001 MB / 0.6342 GB, free: 7.855 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005394/0.5292, allocations: 2.432 MB / 0.6365 GB, free: 5.367 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000306/0.5295, allocations: 275.6 kB / 0.6368 GB, free: 5.098 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/0.5311, allocations: 380.5 kB / 0.6372 GB, free: 4.727 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01469/0.5458, allocations: 5.984 MB / 0.643 GB, free: 14.49 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001976/0.546, allocations: 15.78 kB / 0.643 GB, free: 14.47 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009693/0.547, allocations: 160 kB / 0.6432 GB, free: 14.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006722/0.5477, allocations: 286.9 kB / 0.6434 GB, free: 14.04 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01054/0.5582, allocations: 4.516 MB / 0.6478 GB, free: 9.512 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0345/0.5928, allocations: 27.7 MB / 0.6749 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/0.5947, allocations: 1.121 MB / 0.676 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001566/0.5963, allocations: 1.019 MB / 0.677 GB, free: 9.156 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 8.802e-05/0.5964, allocations: 9 kB / 0.677 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.605e-05/0.5964, allocations: 51.56 kB / 0.677 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=110): time 3.907e-06/0.5965, allocations: 0 / 0.677 GB, free: 9.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=131): time 0.02394/0.6204, allocations: 9.678 MB / 0.6865 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.6205, allocations: 68.66 kB / 0.6866 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/0.6231, allocations: 1.49 MB / 0.688 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.000276/0.6234, allocations: 45.7 kB / 0.6881 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001237/0.6246, allocations: 1.667 MB / 0.6897 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000606/0.6253, allocations: 481.2 kB / 0.6901 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/0.6256, allocations: 141.6 kB / 0.6903 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.6257, allocations: 313 kB / 0.6906 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001577/0.6273, allocations: 0.9135 MB / 0.6915 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001924/0.6293, allocations: 1.463 MB / 0.6929 GB, free: 8.34 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003711/0.633, allocations: 2.542 MB / 0.6954 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-05/0.633, allocations: 8 kB / 0.6954 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.00645/0.6395, allocations: 3.286 MB / 0.6986 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.685e-05/0.6396, allocations: 12 kB / 0.6986 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-05/0.6396, allocations: 16 kB / 0.6986 GB, free: 2.195 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002395/0.642, allocations: 0.7377 MB / 0.6993 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001643/0.6436, allocations: 391.3 kB / 0.6997 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01551/0.6592, allocations: 15.77 MB / 0.7151 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001804/0.661, allocations: 111.8 kB / 0.7152 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003099/0.6614, allocations: 76.12 kB / 0.7153 GB, free: 15.89 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.00254/0.6639, allocations: 1.309 MB / 0.7166 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005348/0.6645, allocations: 201.6 kB / 0.7168 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00558/0.67, allocations: 2.788 MB / 0.7195 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.6701, allocations: 12 kB / 0.7195 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.01e-05/0.6701, allocations: 11.94 kB / 0.7195 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.568e-05/0.6701, allocations: 11.97 kB / 0.7195 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01161/0.6818, allocations: 6.22 MB / 0.7256 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.311e-05/0.6818, allocations: 4 kB / 0.7256 GB, free: 5.117 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.683, allocations: 235.6 kB / 0.7258 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002097/0.6852, allocations: 0.6678 MB / 0.7265 GB, free: 4.191 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001241/0.6853, allocations: 36 kB / 0.7265 GB, free: 4.156 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0148/0.7001, allocations: 15.52 MB / 0.7417 GB, free: 3.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.896e-06/0.7002, allocations: 11.94 kB / 0.7417 GB, free: 3.426 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3344/1.035, allocations: 3.995 MB / 0.7456 GB, free: 153 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001665/1.036, allocations: 458.5 kB / 0.746 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007658/1.037, allocations: 36.3 kB / 0.7461 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001603/1.039, allocations: 83.86 kB / 0.7461 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005228/1.039, allocations: 119.6 kB / 0.7462 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001911/1.039, allocations: 39.94 kB / 0.7463 GB, free: 152.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002408/1.042, allocations: 0.9957 MB / 0.7473 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.71e-07/1.042, allocations: 0 / 0.7473 GB, free: 152.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003703/1.046, allocations: 0.6854 MB / 0.7479 GB, free: 152.8 MB / 0.5762 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.0004761/1.046, allocations: 153.4 kB / 0.7481 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006221/1.052, allocations: 3.5 MB / 0.7515 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.052, allocations: 1.281 kB / 0.7515 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003556/1.056, allocations: 2.29 MB / 0.7537 GB, free: 150.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005414/1.061, allocations: 0.6227 MB / 0.7543 GB, free: 150.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01618/1.078, allocations: 8.707 MB / 0.7628 GB, free: 145.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005093/1.083, allocations: 2.721 MB / 0.7655 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007778/1.084, allocations: 134.3 kB / 0.7656 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/1.084, allocations: 4 kB / 0.7656 GB, free: 144.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.1902/1.274, allocations: 209.1 MB / 0.9699 GB, free: 64 kB / 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)