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.001139/0.001139, allocations: 109.2 kB / 16.41 MB, free: 6.461 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.001081/0.001081, allocations: 193.3 kB / 17.34 MB, free: 5.715 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.392/1.392, 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.7687/0.7687, allocations: 122.9 MB / 414.1 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 68.36 kB / 0.568 GB, free: 29.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.122/0.1232, allocations: 77.93 MB / 0.6441 GB, free: 9.652 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.006867/0.1301, allocations: 5.447 MB / 0.6494 GB, free: 4.184 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004143/0.1343, allocations: 2.626 MB / 0.6519 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003825/0.1347, allocations: 19.88 kB / 0.652 GB, free: 1.527 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.1365, allocations: 0.6753 MB / 0.6526 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009181/0.1374, allocations: 429.7 kB / 0.653 GB, free: 440 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009047/0.1384, allocations: 391.1 kB / 0.6534 GB, free: 48 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001067/0.1394, allocations: 0.9513 MB / 0.6543 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006158/0.1401, allocations: 474.7 kB / 0.6548 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004843/0.1406, allocations: 382.6 kB / 0.6552 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005398/0.1411, allocations: 402.4 kB / 0.6555 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.245e-05/0.1412, allocations: 51.94 kB / 0.6556 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006019/0.1418, allocations: 359.3 kB / 0.6559 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002468/0.1421, allocations: 251.3 kB / 0.6562 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003634/0.1425, allocations: 350.2 kB / 0.6565 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.1435, allocations: 0.9689 MB / 0.6575 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.1435, allocations: 0 / 0.6575 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1435, allocations: 0 / 0.6575 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.715e-05/0.1436, allocations: 0 / 0.6575 GB, free: 11.89 MB / 0.4981 GB 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.00164/0.1452, allocations: 0.9962 MB / 0.6584 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1453, allocations: 12.62 kB / 0.6584 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001183/0.1454, allocations: 94.7 kB / 0.6585 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00148/0.1469, allocations: 204.2 kB / 0.6587 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008452/0.1477, allocations: 0.5183 MB / 0.6592 GB, free: 9.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.1478, allocations: 37.31 kB / 0.6593 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.1479, allocations: 60.53 kB / 0.6593 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/0.1491, allocations: 0.8239 MB / 0.6601 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.02e-05/0.1491, allocations: 11.88 kB / 0.6601 GB, free: 8.961 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.859e-05/0.1492, allocations: 24 kB / 0.6602 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001945/0.1494, allocations: 68.95 kB / 0.6602 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009041/0.1503, allocations: 0.5658 MB / 0.6608 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004591/0.1549, allocations: 4.582 MB / 0.6653 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004691/0.1554, allocations: 299.2 kB / 0.6655 GB, free: 3.066 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.1557, allocations: 225.3 kB / 0.6658 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1558, allocations: 4.281 kB / 0.6658 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.1558, allocations: 38.84 kB / 0.6658 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 1.894e-06/0.1558, allocations: 0 / 0.6658 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005602/0.1614, allocations: 2.632 MB / 0.6684 GB, free: 36 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.719e-05/0.1615, allocations: 63.39 kB / 0.6684 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005116/0.162, allocations: 458 kB / 0.6689 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.1621, allocations: 33.7 kB / 0.6689 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.1623, allocations: 352.5 kB / 0.6692 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1624, allocations: 142.7 kB / 0.6694 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001631/0.1626, allocations: 110.2 kB / 0.6695 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.1627, allocations: 362.8 kB / 0.6698 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.1631, allocations: 241 kB / 0.67 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004777/0.1636, allocations: 410.3 kB / 0.6704 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008778/0.1645, allocations: 0.6778 MB / 0.6711 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1645, allocations: 0 / 0.6711 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001705/0.1662, allocations: 0.9216 MB / 0.672 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.1662, allocations: 13.66 kB / 0.672 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.1662, allocations: 7.938 kB / 0.672 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008024/0.167, allocations: 230.4 kB / 0.6722 GB, free: 11.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005215/0.1676, allocations: 115.9 kB / 0.6724 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005509/0.1731, allocations: 5.344 MB / 0.6776 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004551/0.1736, allocations: 35.97 kB / 0.6776 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.533e-05/0.1736, allocations: 20 kB / 0.6776 GB, free: 5.906 MB / 0.5137 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.000311/0.1739, allocations: 226.5 kB / 0.6778 GB, free: 5.676 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000128/0.1741, allocations: 63.56 kB / 0.6779 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001509/0.1756, allocations: 0.766 MB / 0.6786 GB, free: 4.832 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.1756, allocations: 4 kB / 0.6787 GB, free: 4.828 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.1756, allocations: 4 kB / 0.6787 GB, free: 4.824 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1756, allocations: 3.984 kB / 0.6787 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002556/0.1782, allocations: 1.498 MB / 0.6801 GB, free: 3.234 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.1782, allocations: 8 kB / 0.6801 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003848/0.1786, allocations: 68.11 kB / 0.6802 GB, free: 3.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006761/0.1793, allocations: 202.4 kB / 0.6804 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.335e-05/0.1793, allocations: 16 kB / 0.6804 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004941/0.1843, allocations: 5.274 MB / 0.6856 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1843, allocations: 0 / 0.6856 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001807/0.1861, allocations: 1.136 MB / 0.6867 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002846/0.1864, allocations: 176.6 kB / 0.6868 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.82e-05/0.1865, allocations: 12.06 kB / 0.6868 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003591/0.1869, allocations: 23.97 kB / 0.6869 GB, free: 11.83 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.201e-05/0.187, allocations: 39.89 kB / 0.6869 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.187, allocations: 12 kB / 0.6869 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003419/0.1874, allocations: 314.9 kB / 0.6872 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1874, allocations: 0 / 0.6872 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006723/0.188, allocations: 164 kB / 0.6874 GB, free: 11.32 MB / 0.5294 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.00206/0.1901, allocations: 1.708 MB / 0.689 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001645/0.1918, allocations: 1.009 MB / 0.69 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1918, allocations: 0 / 0.69 GB, free: 8.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009646/0.1928, allocations: 0.6877 MB / 0.6907 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009147/0.1937, allocations: 180.5 kB / 0.6909 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007703/0.2014, allocations: 5.63 MB / 0.6964 GB, free: 1.688 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005103/0.2019, allocations: 0.9455 MB / 0.6973 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003216/0.2023, allocations: 113 kB / 0.6974 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.2025, allocations: 207.4 kB / 0.6976 GB, free: 412 kB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.2025, allocations: 0 / 0.6976 GB, free: 412 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03861/0.2412, allocations: 14.09 MB / 0.7114 GB, free: 2.555 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.52, allocations: 6.875 kB / 0.7114 GB, free: 2.551 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1)