Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_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.001479/0.001479, allocations: 102.1 kB / 16.4 MB, free: 6.453 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.001919/0.001919, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.488/1.488, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7141/0.7141, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001183/0.001183, allocations: 69.23 kB / 0.5572 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.1302, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007422/0.1376, allocations: 5.523 MB / 0.637 GB, free: 15.36 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004495/0.1422, allocations: 2.646 MB / 0.6396 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004544/0.1426, allocations: 19.88 kB / 0.6396 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001836/0.1445, allocations: 0.6791 MB / 0.6402 GB, free: 12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001069/0.1456, allocations: 413.7 kB / 0.6406 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001069/0.1467, allocations: 413.2 kB / 0.641 GB, free: 11.19 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001207/0.1479, allocations: 0.9552 MB / 0.642 GB, free: 10.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007022/0.1486, allocations: 473.8 kB / 0.6424 GB, free: 9.77 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006259/0.1493, allocations: 382.5 kB / 0.6428 GB, free: 9.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006314/0.1499, allocations: 402.4 kB / 0.6432 GB, free: 9 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001101/0.15, allocations: 48 kB / 0.6432 GB, free: 8.953 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006793/0.1507, allocations: 363.2 kB / 0.6436 GB, free: 8.598 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.151, allocations: 243.4 kB / 0.6438 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003834/0.1514, allocations: 354.2 kB / 0.6441 GB, free: 8.012 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001069/0.1524, allocations: 0.9775 MB / 0.6451 GB, free: 7.031 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1525, allocations: 0 / 0.6451 GB, free: 7.031 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1525, allocations: 0 / 0.6451 GB, free: 7.031 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.132e-05/0.1525, allocations: 0 / 0.6451 GB, free: 7.031 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001736/0.1542, allocations: 0.9775 MB / 0.646 GB, free: 6 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.889e-05/0.1543, allocations: 16.03 kB / 0.6461 GB, free: 5.984 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001176/0.1544, allocations: 98.69 kB / 0.6462 GB, free: 5.879 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001423/0.1558, allocations: 191.9 kB / 0.6463 GB, free: 5.691 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008545/0.1567, allocations: 0.5257 MB / 0.6468 GB, free: 5.125 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.349e-05/0.1568, allocations: 41.36 kB / 0.6469 GB, free: 5.086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.1569, allocations: 52.56 kB / 0.6469 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.158, allocations: 0.8316 MB / 0.6477 GB, free: 4.121 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.158, allocations: 3.984 kB / 0.6478 GB, free: 4.117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.694e-05/0.1581, allocations: 23.98 kB / 0.6478 GB, free: 4.094 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001783/0.1583, allocations: 64.94 kB / 0.6478 GB, free: 4.027 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008331/0.1591, allocations: 0.5735 MB / 0.6484 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004145/0.1633, allocations: 4.569 MB / 0.6529 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004454/0.1637, allocations: 299.2 kB / 0.6531 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002933/0.164, allocations: 225.3 kB / 0.6534 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.1641, allocations: 288 / 0.6534 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.1641, allocations: 46.78 kB / 0.6534 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.655e-06/0.1641, allocations: 3.984 kB / 0.6534 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005497/0.1696, allocations: 2.619 MB / 0.656 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.936e-05/0.1697, allocations: 59.34 kB / 0.656 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004423/0.1701, allocations: 466 kB / 0.6565 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.309e-05/0.1702, allocations: 29.7 kB / 0.6565 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002056/0.1704, allocations: 351.6 kB / 0.6568 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1705, allocations: 145.9 kB / 0.657 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.1707, allocations: 106.1 kB / 0.6571 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1708, allocations: 366.8 kB / 0.6574 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.1711, allocations: 241 kB / 0.6577 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004433/0.1716, allocations: 410.4 kB / 0.658 GB, free: 8.949 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008334/0.1724, allocations: 0.67 MB / 0.6587 GB, free: 8.207 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.1724, allocations: 4 kB / 0.6587 GB, free: 8.203 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001618/0.1741, allocations: 0.9246 MB / 0.6596 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1741, allocations: 8 kB / 0.6596 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.407e-06/0.1741, allocations: 4 kB / 0.6596 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007726/0.1749, allocations: 219 kB / 0.6598 GB, free: 7.027 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005054/0.1754, allocations: 115.8 kB / 0.6599 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005036/0.1805, allocations: 5.336 MB / 0.6651 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004308/0.1809, allocations: 36.03 kB / 0.6652 GB, free: 1.125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.693e-05/0.181, allocations: 24 kB / 0.6652 GB, free: 1.102 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(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.0003204/0.1813, allocations: 225.6 kB / 0.6654 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1814, allocations: 59.28 kB / 0.6655 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.1828, allocations: 0.7811 MB / 0.6662 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.1828, allocations: 4 kB / 0.6662 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.1828, allocations: 0 / 0.6662 GB, free: 8 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.1829, allocations: 4 kB / 0.6662 GB, free: 4 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.1853, allocations: 1.498 MB / 0.6677 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.1853, allocations: 0 / 0.6677 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003707/0.1857, allocations: 71.88 kB / 0.6678 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006798/0.1863, allocations: 206.6 kB / 0.668 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.1864, allocations: 12.19 kB / 0.668 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004603/0.191, allocations: 5.274 MB / 0.6731 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.191, allocations: 0 / 0.6731 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001684/0.1927, allocations: 1.139 MB / 0.6742 GB, free: 7.242 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002596/0.193, allocations: 172.3 kB / 0.6744 GB, free: 7.055 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.173e-05/0.1931, allocations: 11.98 kB / 0.6744 GB, free: 7.043 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003413/0.1934, allocations: 23.97 kB / 0.6744 GB, free: 7.02 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.144e-05/0.1935, allocations: 36.02 kB / 0.6745 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.842e-05/0.1935, allocations: 16 kB / 0.6745 GB, free: 6.969 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003168/0.1939, allocations: 310.9 kB / 0.6748 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1939, allocations: 0 / 0.6748 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006414/0.1945, allocations: 172 kB / 0.675 GB, free: 6.5 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,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.001973/0.1965, allocations: 1.707 MB / 0.6766 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.1981, allocations: 1.004 MB / 0.6776 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.1981, allocations: 0 / 0.6776 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009263/0.1991, allocations: 0.6876 MB / 0.6783 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008802/0.1999, allocations: 184.7 kB / 0.6785 GB, free: 2.789 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007486/0.2074, allocations: 5.628 MB / 0.6839 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004984/0.208, allocations: 0.9455 MB / 0.6849 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003466/0.2083, allocations: 117 kB / 0.685 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002731/0.2086, allocations: 211.4 kB / 0.6852 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of SimCode: time 6.81e-07/0.2086, allocations: 0 / 0.6852 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04092/0.2495, allocations: 14.46 MB / 0.6993 GB, free: 13.39 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.53, allocations: 10.06 kB / 0.6993 GB, free: 13.39 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)