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.001058/0.001058, allocations: 103.9 kB / 16.4 MB, free: 6.438 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.001135/0.001135, allocations: 193.2 kB / 17.34 MB, free: 5.703 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.341/1.341, 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.7463/0.7463, allocations: 122.9 MB / 414.1 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 67.38 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.127, allocations: 77.93 MB / 0.6441 GB, free: 9.527 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.00726/0.1343, allocations: 5.511 MB / 0.6494 GB, free: 3.992 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004644/0.139, allocations: 2.646 MB / 0.652 GB, free: 1.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.1396, allocations: 23.81 kB / 0.6521 GB, free: 1.312 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001915/0.1416, allocations: 0.6875 MB / 0.6527 GB, free: 0.625 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001105/0.1427, allocations: 433.7 kB / 0.6531 GB, free: 204 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001071/0.1438, allocations: 403 kB / 0.6535 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001164/0.145, allocations: 0.9591 MB / 0.6545 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007396/0.1457, allocations: 478.7 kB / 0.6549 GB, free: 14.38 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006586/0.1464, allocations: 374.6 kB / 0.6553 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007049/0.1471, allocations: 406.4 kB / 0.6557 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.1473, allocations: 48 kB / 0.6557 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008972/0.1482, allocations: 367.3 kB / 0.6561 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003697/0.1486, allocations: 239.4 kB / 0.6563 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006219/0.1492, allocations: 358.1 kB / 0.6566 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001435/0.1507, allocations: 0.9689 MB / 0.6576 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1507, allocations: 0 / 0.6576 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1507, allocations: 0 / 0.6576 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.186e-05/0.1507, allocations: 0 / 0.6576 GB, free: 11.64 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.002024/0.1527, allocations: 1.008 MB / 0.6586 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1528, allocations: 8.625 kB / 0.6586 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001735/0.153, allocations: 98.69 kB / 0.6587 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001594/0.1546, allocations: 196.3 kB / 0.6588 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001038/0.1556, allocations: 0.5262 MB / 0.6594 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.561e-05/0.1557, allocations: 45.3 kB / 0.6594 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001827/0.1559, allocations: 60.5 kB / 0.6595 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001211/0.1571, allocations: 0.8239 MB / 0.6603 GB, free: 8.703 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.866e-05/0.1571, allocations: 3.938 kB / 0.6603 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.145e-05/0.1572, allocations: 23.98 kB / 0.6603 GB, free: 8.676 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002011/0.1574, allocations: 76.94 kB / 0.6604 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009377/0.1584, allocations: 0.5696 MB / 0.6609 GB, free: 8.031 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004802/0.1632, allocations: 4.578 MB / 0.6654 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004913/0.1637, allocations: 295.3 kB / 0.6657 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.164, allocations: 229.3 kB / 0.6659 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.1641, allocations: 8.266 kB / 0.6659 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/0.1641, allocations: 34.84 kB / 0.6659 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=33): time 2.054e-06/0.1641, allocations: 0 / 0.6659 GB, free: 2.523 MB / 0.4981 GB Notification: Performance of matching and sorting (n=40): time 0.005816/0.1699, allocations: 2.64 MB / 0.6685 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.17, allocations: 63.33 kB / 0.6686 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005094/0.1705, allocations: 470 kB / 0.669 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.1706, allocations: 29.7 kB / 0.6691 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002285/0.1708, allocations: 348.5 kB / 0.6694 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.1709, allocations: 154.7 kB / 0.6695 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001685/0.1711, allocations: 106.2 kB / 0.6696 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1713, allocations: 362.7 kB / 0.67 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.1716, allocations: 237 kB / 0.6702 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004684/0.1721, allocations: 414.3 kB / 0.6706 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000847/0.173, allocations: 0.67 MB / 0.6713 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.173, allocations: 4 kB / 0.6713 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001751/0.1747, allocations: 0.9249 MB / 0.6722 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/0.1748, allocations: 8.656 kB / 0.6722 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.1748, allocations: 8 kB / 0.6722 GB, free: 11.79 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000837/0.1756, allocations: 222.3 kB / 0.6724 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005425/0.1762, allocations: 115.8 kB / 0.6725 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005257/0.1815, allocations: 5.348 MB / 0.6777 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.182, allocations: 27.97 kB / 0.6777 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.233e-05/0.1821, allocations: 24 kB / 0.6778 GB, free: 5.629 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.0003346/0.1824, allocations: 225.6 kB / 0.678 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.1826, allocations: 67.56 kB / 0.678 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001502/0.1841, allocations: 0.7697 MB / 0.6788 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.1841, allocations: 4 kB / 0.6788 GB, free: 4.543 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.1841, allocations: 4 kB / 0.6788 GB, free: 4.539 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.1841, allocations: 4 kB / 0.6788 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002555/0.1867, allocations: 1.49 MB / 0.6803 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.1867, allocations: 15.92 kB / 0.6803 GB, free: 2.941 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000392/0.1871, allocations: 63.89 kB / 0.6803 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007048/0.1878, allocations: 210.5 kB / 0.6805 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.733e-05/0.1879, allocations: 12 kB / 0.6806 GB, free: 2.652 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004918/0.1928, allocations: 5.274 MB / 0.6857 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1928, allocations: 3.938 kB / 0.6857 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001767/0.1946, allocations: 1.135 MB / 0.6868 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000292/0.1949, allocations: 180.6 kB / 0.687 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.433e-05/0.195, allocations: 8 kB / 0.687 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003481/0.1954, allocations: 23.97 kB / 0.687 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.401e-05/0.1955, allocations: 43.95 kB / 0.6871 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.1955, allocations: 12 kB / 0.6871 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003323/0.1958, allocations: 310.9 kB / 0.6874 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1958, allocations: 0 / 0.6874 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006975/0.1965, allocations: 172 kB / 0.6875 GB, free: 11.02 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.002083/0.1986, allocations: 1.706 MB / 0.6892 GB, free: 9.254 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001642/0.2003, allocations: 1.013 MB / 0.6902 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.2003, allocations: 0 / 0.6902 GB, free: 8.203 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.000959/0.2013, allocations: 0.6837 MB / 0.6909 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009098/0.2022, allocations: 177.4 kB / 0.691 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007346/0.2095, allocations: 5.656 MB / 0.6966 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/0.2101, allocations: 0.9494 MB / 0.6975 GB, free: 404 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003685/0.2105, allocations: 105 kB / 0.6976 GB, free: 300 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002821/0.2108, allocations: 219.4 kB / 0.6978 GB, free: 80 kB / 0.5294 GB Notification: Performance of SimCode: time 8.31e-07/0.2108, allocations: 4 kB / 0.6978 GB, free: 76 kB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04289/0.2537, allocations: 14.19 MB / 0.7116 GB, free: 2.164 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.37/10.62, allocations: 4 kB / 0.7116 GB, free: 2.16 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.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_ThreePhasesBalanced_Lines_Examples_ACLine_RL.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1)