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.001296/0.001296, allocations: 101.8 kB / 16.4 MB, free: 6.5 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.001407/0.001407, allocations: 192 kB / 17.34 MB, free: 5.738 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8455/0.8455, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 66.44 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1316, allocations: 78.86 MB / 0.6506 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.007361/0.139, allocations: 5.449 MB / 0.6559 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00399/0.143, allocations: 2.63 MB / 0.6584 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002112/0.1432, allocations: 19.88 kB / 0.6585 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.1449, allocations: 0.6839 MB / 0.6591 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008054/0.1458, allocations: 405.7 kB / 0.6595 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008579/0.1466, allocations: 391.1 kB / 0.6599 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001016/0.1477, allocations: 0.9551 MB / 0.6608 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006481/0.1483, allocations: 470.7 kB / 0.6613 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004388/0.1488, allocations: 374.5 kB / 0.6616 GB, free: 8.211 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005311/0.1493, allocations: 398.5 kB / 0.662 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.342e-05/0.1494, allocations: 48 kB / 0.6621 GB, free: 7.773 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/0.1501, allocations: 367.2 kB / 0.6624 GB, free: 7.414 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.1503, allocations: 247.3 kB / 0.6626 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003694/0.1507, allocations: 346.3 kB / 0.663 GB, free: 6.832 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.1519, allocations: 0.9805 MB / 0.6639 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1519, allocations: 0 / 0.6639 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.523e-06/0.152, allocations: 0 / 0.6639 GB, free: 5.848 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.081e-05/0.152, allocations: 0 / 0.6639 GB, free: 5.848 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.001691/0.1537, allocations: 0.9884 MB / 0.6649 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.1537, allocations: 11.97 kB / 0.6649 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001303/0.1539, allocations: 106.7 kB / 0.665 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.1552, allocations: 196.2 kB / 0.6652 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007733/0.156, allocations: 0.5184 MB / 0.6657 GB, free: 3.934 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/0.1561, allocations: 41.36 kB / 0.6657 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001549/0.1562, allocations: 48.56 kB / 0.6658 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.1575, allocations: 0.8316 MB / 0.6666 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.86e-05/0.1575, allocations: 11.89 kB / 0.6666 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.436e-05/0.1576, allocations: 23.98 kB / 0.6666 GB, free: 2.891 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001904/0.1578, allocations: 64.95 kB / 0.6667 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009351/0.1587, allocations: 0.5736 MB / 0.6673 GB, free: 2.254 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004589/0.1633, allocations: 4.574 MB / 0.6717 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004822/0.1638, allocations: 295.2 kB / 0.672 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003285/0.1642, allocations: 225.3 kB / 0.6722 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.438e-05/0.1642, allocations: 4.281 kB / 0.6722 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.1642, allocations: 42.84 kB / 0.6723 GB, free: 12.76 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 1.583e-06/0.1643, allocations: 4 kB / 0.6723 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.005634/0.1699, allocations: 2.632 MB / 0.6748 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.899e-05/0.1699, allocations: 55.41 kB / 0.6749 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004986/0.1704, allocations: 462 kB / 0.6753 GB, free: 9.465 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.717e-05/0.1705, allocations: 33.64 kB / 0.6754 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002641/0.1708, allocations: 348.5 kB / 0.6757 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.1709, allocations: 154.7 kB / 0.6758 GB, free: 8.926 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.1711, allocations: 106.2 kB / 0.6759 GB, free: 8.816 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.1713, allocations: 362.8 kB / 0.6763 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004119/0.1717, allocations: 237 kB / 0.6765 GB, free: 8.223 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005257/0.1722, allocations: 414.3 kB / 0.6769 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009493/0.1732, allocations: 0.674 MB / 0.6776 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1732, allocations: 0 / 0.6776 GB, free: 6.992 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001736/0.1749, allocations: 0.9211 MB / 0.6785 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1749, allocations: 8 kB / 0.6785 GB, free: 6.047 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.175, allocations: 4 kB / 0.6785 GB, free: 6.043 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007945/0.1758, allocations: 223 kB / 0.6787 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/0.1763, allocations: 115.8 kB / 0.6788 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/0.182, allocations: 5.349 MB / 0.684 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003856/0.1824, allocations: 27.97 kB / 0.6841 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.597e-05/0.1825, allocations: 28.06 kB / 0.6841 GB, free: 15.88 MB / 0.5294 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.0002963/0.1828, allocations: 226.5 kB / 0.6843 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.1829, allocations: 67.56 kB / 0.6844 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0016/0.1845, allocations: 0.7733 MB / 0.6851 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1845, allocations: 4 kB / 0.6851 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.1845, allocations: 0 / 0.6851 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.172e-06/0.1845, allocations: 4 kB / 0.6851 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.1871, allocations: 1.495 MB / 0.6866 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.1871, allocations: 0 / 0.6866 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000378/0.1875, allocations: 71.88 kB / 0.6866 GB, free: 13.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006944/0.1882, allocations: 206.8 kB / 0.6868 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.1882, allocations: 8 kB / 0.6869 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005524/0.1937, allocations: 5.277 MB / 0.692 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.1938, allocations: 8.016 kB / 0.692 GB, free: 7.211 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.1957, allocations: 1.135 MB / 0.6931 GB, free: 6.027 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002274/0.1959, allocations: 176.7 kB / 0.6933 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.277e-05/0.196, allocations: 15.98 kB / 0.6933 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003475/0.1964, allocations: 23.97 kB / 0.6933 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.797e-05/0.1965, allocations: 35.89 kB / 0.6934 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-05/0.1965, allocations: 16.06 kB / 0.6934 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003669/0.1969, allocations: 310.9 kB / 0.6937 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1969, allocations: 0 / 0.6937 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006534/0.1975, allocations: 168 kB / 0.6938 GB, free: 5.281 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.002311/0.1999, allocations: 1.696 MB / 0.6955 GB, free: 3.523 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001737/0.2016, allocations: 1.02 MB / 0.6965 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.2016, allocations: 0 / 0.6965 GB, free: 2.465 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001028/0.2027, allocations: 0.6798 MB / 0.6972 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008827/0.2035, allocations: 187 kB / 0.6973 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008133/0.2117, allocations: 5.621 MB / 0.7028 GB, free: 11.65 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/0.2124, allocations: 0.9455 MB / 0.7037 GB, free: 10.68 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003392/0.2127, allocations: 109 kB / 0.7038 GB, free: 10.57 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.213, allocations: 211.4 kB / 0.704 GB, free: 10.37 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.213, allocations: 4 kB / 0.7041 GB, free: 10.36 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04864/0.2617, allocations: 14.1 MB / 0.7178 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.23, allocations: 6.516 kB / 0.7178 GB, free: 12.51 MB / 0.5606 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)