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: "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009801/0.0009802, allocations: 95.72 kB / 15.68 MB, free: 488 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.0009125/0.0009125, allocations: 176.4 kB / 16.57 MB, free: 6.391 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.251/1.251, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6135/0.6135, allocations: 113.7 MB / 405.3 MB, free: 4.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003256/0.0003257, allocations: 8 kB / 493 MB, free: 8.574 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 77.12 MB / 0.5567 GB, free: 11.66 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.02218/0.1571, allocations: 23.23 MB / 0.5794 GB, free: 4.367 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.2636/0.4207, allocations: 7.749 MB / 0.587 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.4223, allocations: 96.84 kB / 0.5871 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000968/0.4233, allocations: 0.5101 MB / 0.5876 GB, free: 15.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.4261, allocations: 1.179 MB / 0.5887 GB, free: 15.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004214/0.4303, allocations: 1.014 MB / 0.5897 GB, free: 15.7 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.009183/0.4395, allocations: 2.994 MB / 0.5926 GB, free: 15.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01408/0.4536, allocations: 8.178 MB / 0.6006 GB, free: 14.56 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003408/0.4571, allocations: 1.641 MB / 0.6022 GB, free: 14.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002386/0.4595, allocations: 1.671 MB / 0.6039 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004372/0.4599, allocations: 211.5 kB / 0.6041 GB, free: 13.99 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.4614, allocations: 0.5004 MB / 0.6046 GB, free: 13.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001912/0.4634, allocations: 1.522 MB / 0.606 GB, free: 13.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001423/0.4648, allocations: 0.8076 MB / 0.6068 GB, free: 13.03 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006879/0.4717, allocations: 6.512 MB / 0.6132 GB, free: 9.504 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.4717, allocations: 5.312 kB / 0.6132 GB, free: 9.5 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4717, allocations: 0 / 0.6132 GB, free: 9.5 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001938/0.4719, allocations: 0 / 0.6132 GB, free: 9.5 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.007217/0.4791, allocations: 3.432 MB / 0.6165 GB, free: 7.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.4792, allocations: 12.66 kB / 0.6166 GB, free: 7.242 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001152/0.4804, allocations: 0.5385 MB / 0.6171 GB, free: 6.863 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004098/0.4845, allocations: 0.7691 MB / 0.6178 GB, free: 6.504 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007203/0.4917, allocations: 2.372 MB / 0.6202 GB, free: 4.965 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002931/0.492, allocations: 272.5 kB / 0.6204 GB, free: 4.848 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00206/0.4941, allocations: 374 kB / 0.6208 GB, free: 4.727 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01079/0.5049, allocations: 5.939 MB / 0.6266 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.815e-05/0.505, allocations: 15.28 kB / 0.6266 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003501/0.5054, allocations: 156.2 kB / 0.6267 GB, free: 0.8789 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000497/0.5059, allocations: 282.6 kB / 0.627 GB, free: 0.7383 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006565/0.5125, allocations: 4.496 MB / 0.6314 GB, free: 12.23 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02609/0.5386, allocations: 27.69 MB / 0.6584 GB, free: 14.19 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.5402, allocations: 1.12 MB / 0.6595 GB, free: 13.06 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.528e-05/0.5403, allocations: 13 kB / 0.6595 GB, free: 13.05 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.542e-05/0.5404, allocations: 43.56 kB / 0.6596 GB, free: 13 MB / 494.1 MB Notification: Performance of pre-optimization done (n=110): time 2.835e-06/0.5404, allocations: 4 kB / 0.6596 GB, free: 13 MB / 494.1 MB Notification: Performance of matching and sorting (n=131): time 0.0206/0.561, allocations: 9.668 MB / 0.669 GB, free: 3.129 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.892e-05/0.5611, allocations: 64.72 kB / 0.6691 GB, free: 3.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/0.5627, allocations: 1.482 MB / 0.6705 GB, free: 1.57 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.937e-05/0.5628, allocations: 49.7 kB / 0.6706 GB, free: 1.516 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008801/0.5637, allocations: 1.672 MB / 0.6722 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.564, allocations: 467.2 kB / 0.6727 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.855e-05/0.5641, allocations: 36 kB / 0.6727 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.5642, allocations: 377.9 kB / 0.6731 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.5654, allocations: 0.9057 MB / 0.6739 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.5668, allocations: 1.449 MB / 0.6754 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.5682, allocations: 1.15 MB / 0.6765 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.745e-06/0.5682, allocations: 4 kB / 0.6765 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.004863/0.5731, allocations: 3.27 MB / 0.6797 GB, free: 7.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/0.5731, allocations: 12 kB / 0.6797 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/0.5731, allocations: 16 kB / 0.6797 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/0.5752, allocations: 0.7459 MB / 0.6804 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/0.5766, allocations: 383.4 kB / 0.6808 GB, free: 6.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.591, allocations: 16.03 MB / 0.6964 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002328/0.5933, allocations: 104.2 kB / 0.6965 GB, free: 5.41 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/0.5935, allocations: 75.98 kB / 0.6966 GB, free: 5.336 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003779/0.5973, allocations: 1.31 MB / 0.6979 GB, free: 4.016 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007281/0.598, allocations: 205.6 kB / 0.6981 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005045/0.6031, allocations: 2.788 MB / 0.7008 GB, free: 0.9844 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.56e-05/0.6031, allocations: 16 kB / 0.7008 GB, free: 0.9688 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.6032, allocations: 7.953 kB / 0.7008 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.246e-05/0.6032, allocations: 3.984 kB / 0.7008 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01042/0.6136, allocations: 6.208 MB / 0.7069 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.107e-05/0.6137, allocations: 4 kB / 0.7069 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001084/0.6148, allocations: 228.3 kB / 0.7071 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001828/0.6166, allocations: 0.6709 MB / 0.7078 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-05/0.6167, allocations: 35.98 kB / 0.7078 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01268/0.6294, allocations: 15.77 MB / 0.7232 GB, free: 8.68 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.102e-06/0.6294, allocations: 7.938 kB / 0.7232 GB, free: 8.672 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005725/0.6352, allocations: 4.339 MB / 0.7275 GB, free: 4.109 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.6363, allocations: 458.6 kB / 0.7279 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002351/0.6365, allocations: 35.98 kB / 0.7279 GB, free: 3.605 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008604/0.6374, allocations: 79.89 kB / 0.728 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002667/0.6377, allocations: 120.7 kB / 0.7281 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.082e-05/0.6378, allocations: 40.12 kB / 0.7282 GB, free: 3.371 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001217/0.639, allocations: 0.9747 MB / 0.7291 GB, free: 2.406 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.639, allocations: 3.938 kB / 0.7291 GB, free: 2.402 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002217/0.6412, allocations: 0.6875 MB / 0.7298 GB, free: 1.715 MB / 0.545 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 (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 9 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006265/0.6475, allocations: 6.281 MB / 0.7359 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005454/0.653, allocations: 3.495 MB / 0.7393 GB, free: 7.625 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.157e-05/0.653, allocations: 4 kB / 0.7393 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00312/0.6562, allocations: 2.283 MB / 0.7416 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002888/0.6591, allocations: 0.5887 MB / 0.7421 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02925/0.6883, allocations: 29.3 MB / 0.7708 GB, free: 6.172 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00284/0.6912, allocations: 2.738 MB / 0.7734 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001658/0.6929, allocations: 477.4 kB / 0.7739 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001431/0.6943, allocations: 1.288 MB / 0.7751 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of SimCode: time 9.51e-07/0.6944, allocations: 4 kB / 0.7752 GB, free: 1.641 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 6.131/6.826, allocations: 54.6 MB / 0.8285 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001559/6.826, allocations: 228.7 kB / 0.8287 GB, free: 203.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.065/9.89, allocations: 0 / 0.8287 GB, free: 203.6 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) Environment - environmentSimulation: