Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_OnePhase_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.001073/0.001072, allocations: 104.9 kB / 16.4 MB, free: 6.508 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.0009974/0.0009975, allocations: 196 kB / 17.34 MB, free: 5.742 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.169/1.169, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6367/0.6367, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001073/0.001073, allocations: 67.19 kB / 0.5572 GB, free: 32.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.117/0.1181, allocations: 76.18 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006031/0.1241, allocations: 5.443 MB / 0.6369 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003453/0.1276, allocations: 2.626 MB / 0.6395 GB, free: 12.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002017/0.1278, allocations: 19.88 kB / 0.6395 GB, free: 12.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.1293, allocations: 0.6755 MB / 0.6401 GB, free: 12.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006718/0.13, allocations: 425.8 kB / 0.6406 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006938/0.1307, allocations: 399 kB / 0.6409 GB, free: 11.31 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007799/0.1315, allocations: 0.9552 MB / 0.6419 GB, free: 10.35 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000525/0.132, allocations: 473.8 kB / 0.6423 GB, free: 9.887 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003469/0.1324, allocations: 366.7 kB / 0.6427 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004031/0.1328, allocations: 410.3 kB / 0.6431 GB, free: 9.125 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.668e-05/0.1329, allocations: 52 kB / 0.6431 GB, free: 9.074 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004414/0.1333, allocations: 355.3 kB / 0.6434 GB, free: 8.727 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001989/0.1335, allocations: 255.3 kB / 0.6437 GB, free: 8.477 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.1338, allocations: 346.2 kB / 0.644 GB, free: 8.137 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008164/0.1347, allocations: 0.9736 MB / 0.645 GB, free: 7.16 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.1347, allocations: 0 / 0.645 GB, free: 7.16 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1347, allocations: 0 / 0.645 GB, free: 7.16 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.1347, allocations: 0 / 0.645 GB, free: 7.16 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.001335/0.136, allocations: 0.9737 MB / 0.6459 GB, free: 6.133 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.1361, allocations: 12.03 kB / 0.6459 GB, free: 6.121 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.53e-05/0.1362, allocations: 98.69 kB / 0.646 GB, free: 6.016 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001207/0.1374, allocations: 191.8 kB / 0.6462 GB, free: 5.828 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006307/0.138, allocations: 0.5257 MB / 0.6467 GB, free: 5.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.138, allocations: 33.38 kB / 0.6468 GB, free: 5.23 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001301/0.1382, allocations: 56.55 kB / 0.6468 GB, free: 5.176 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009452/0.1391, allocations: 0.8278 MB / 0.6476 GB, free: 4.266 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.023e-05/0.1392, allocations: 7.875 kB / 0.6476 GB, free: 4.258 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.95e-05/0.1392, allocations: 24 kB / 0.6476 GB, free: 4.234 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/0.1394, allocations: 60.95 kB / 0.6477 GB, free: 4.172 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007636/0.1402, allocations: 0.5775 MB / 0.6483 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0035/0.1437, allocations: 4.577 MB / 0.6527 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.1441, allocations: 291.2 kB / 0.653 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002668/0.1444, allocations: 233.3 kB / 0.6532 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1444, allocations: 4.281 kB / 0.6532 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.095e-05/0.1444, allocations: 38.84 kB / 0.6533 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.433e-06/0.1444, allocations: 0 / 0.6533 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.004801/0.1492, allocations: 2.615 MB / 0.6558 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.001e-05/0.1493, allocations: 59.41 kB / 0.6559 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004042/0.1497, allocations: 461.9 kB / 0.6563 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.1497, allocations: 33.7 kB / 0.6564 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.1499, allocations: 339.7 kB / 0.6567 GB, free: 10.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.161e-05/0.15, allocations: 141.9 kB / 0.6568 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001511/0.1502, allocations: 102.2 kB / 0.6569 GB, free: 10.19 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1503, allocations: 362.8 kB / 0.6573 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003168/0.1506, allocations: 240.9 kB / 0.6575 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000414/0.151, allocations: 414.4 kB / 0.6579 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007492/0.1518, allocations: 0.674 MB / 0.6586 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1518, allocations: 0 / 0.6586 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00143/0.1532, allocations: 0.9213 MB / 0.6595 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1533, allocations: 8 kB / 0.6595 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.1533, allocations: 8.031 kB / 0.6595 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007009/0.154, allocations: 226.3 kB / 0.6597 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/0.1544, allocations: 127.7 kB / 0.6598 GB, free: 7.059 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00426/0.1587, allocations: 5.332 MB / 0.665 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003408/0.1591, allocations: 31.97 kB / 0.665 GB, free: 1.277 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.1591, allocations: 24 kB / 0.6651 GB, free: 1.254 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.000214/0.1593, allocations: 229.3 kB / 0.6653 GB, free: 1.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.846e-05/0.1594, allocations: 59.28 kB / 0.6653 GB, free: 0.9648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.1607, allocations: 0.7734 MB / 0.6661 GB, free: 176 kB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.1608, allocations: 8 kB / 0.6661 GB, free: 168 kB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1608, allocations: 4 kB / 0.6661 GB, free: 164 kB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.1608, allocations: 4 kB / 0.6661 GB, free: 160 kB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002044/0.1628, allocations: 1.498 MB / 0.6676 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.1628, allocations: 0 / 0.6676 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003311/0.1632, allocations: 71.88 kB / 0.6676 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006157/0.1638, allocations: 206.5 kB / 0.6678 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.1638, allocations: 12 kB / 0.6679 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00408/0.1679, allocations: 5.271 MB / 0.673 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1679, allocations: 3.938 kB / 0.673 GB, free: 8.582 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001504/0.1695, allocations: 1.128 MB / 0.6741 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.1696, allocations: 172.3 kB / 0.6743 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.668e-05/0.1697, allocations: 15.92 kB / 0.6743 GB, free: 7.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002848/0.17, allocations: 23.97 kB / 0.6743 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.594e-05/0.1701, allocations: 43.95 kB / 0.6743 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.1701, allocations: 8 kB / 0.6744 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002658/0.1704, allocations: 314.9 kB / 0.6747 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1704, allocations: 0 / 0.6747 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000531/0.1709, allocations: 164 kB / 0.6748 GB, free: 6.664 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.00174/0.1727, allocations: 1.703 MB / 0.6765 GB, free: 4.898 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.001321/0.174, allocations: 1.012 MB / 0.6775 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.174, allocations: 0 / 0.6775 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008049/0.1748, allocations: 0.6759 MB / 0.6781 GB, free: 3.133 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007361/0.1756, allocations: 184.5 kB / 0.6783 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006304/0.1819, allocations: 5.612 MB / 0.6838 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.1823, allocations: 0.9455 MB / 0.6847 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0002634/0.1826, allocations: 113 kB / 0.6848 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002255/0.1828, allocations: 211.4 kB / 0.685 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.1828, allocations: 4 kB / 0.685 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03606/0.2189, allocations: 14.09 MB / 0.6988 GB, free: 13.91 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.897/10.12, allocations: 9.422 kB / 0.6988 GB, free: 13.91 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)