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.001158/0.001158, allocations: 109.1 kB / 16.41 MB, free: 5.984 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.001249/0.001249, allocations: 194.6 kB / 17.34 MB, free: 5.602 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7885/0.7885, allocations: 126.1 MB / 417.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002105, allocations: 67.38 kB / 0.5726 GB, free: 27.38 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.14, allocations: 78.7 MB / 0.6495 GB, free: 4.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.007159/0.1472, allocations: 5.511 MB / 0.6548 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004327/0.1516, allocations: 2.646 MB / 0.6574 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005339/0.1521, allocations: 23.81 kB / 0.6574 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001954/0.1541, allocations: 0.6861 MB / 0.6581 GB, free: 11.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.1553, allocations: 425.7 kB / 0.6585 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.1563, allocations: 417.9 kB / 0.6589 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001256/0.1576, allocations: 0.9629 MB / 0.6599 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006988/0.1583, allocations: 466.8 kB / 0.6603 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006465/0.1589, allocations: 378.6 kB / 0.6607 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007472/0.1597, allocations: 406.4 kB / 0.6611 GB, free: 8.707 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001424/0.1599, allocations: 48 kB / 0.6611 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000747/0.1606, allocations: 367.2 kB / 0.6614 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002664/0.1609, allocations: 235.4 kB / 0.6617 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004094/0.1613, allocations: 354.1 kB / 0.662 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001275/0.1626, allocations: 0.9767 MB / 0.663 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.1626, allocations: 0 / 0.663 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.443e-06/0.1626, allocations: 0 / 0.663 GB, free: 6.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.56e-05/0.1627, allocations: 4 kB / 0.663 GB, free: 6.738 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.001711/0.1644, allocations: 1 MB / 0.6639 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.1644, allocations: 8.031 kB / 0.664 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001236/0.1645, allocations: 102.7 kB / 0.6641 GB, free: 5.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.1659, allocations: 204.2 kB / 0.6642 GB, free: 5.371 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008418/0.1668, allocations: 0.5261 MB / 0.6648 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.1668, allocations: 41.38 kB / 0.6648 GB, free: 4.762 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.167, allocations: 56.5 kB / 0.6649 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001149/0.1682, allocations: 0.8278 MB / 0.6657 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.565e-05/0.1682, allocations: 11.92 kB / 0.6657 GB, free: 3.781 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.926e-05/0.1683, allocations: 20 kB / 0.6657 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001861/0.1685, allocations: 68.94 kB / 0.6658 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.1693, allocations: 0.5696 MB / 0.6663 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004305/0.1736, allocations: 4.585 MB / 0.6708 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004607/0.1741, allocations: 291.3 kB / 0.6711 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002998/0.1744, allocations: 225.3 kB / 0.6713 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.255e-05/0.1745, allocations: 4.281 kB / 0.6713 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/0.1745, allocations: 34.84 kB / 0.6713 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=33): time 3.356e-06/0.1745, allocations: 3.984 kB / 0.6713 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=40): time 0.005491/0.18, allocations: 2.651 MB / 0.6739 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.875e-05/0.1801, allocations: 59.39 kB / 0.674 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.1806, allocations: 466 kB / 0.6744 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.789e-05/0.1806, allocations: 29.7 kB / 0.6744 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002236/0.1808, allocations: 344.6 kB / 0.6748 GB, free: 9.926 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.181, allocations: 154.7 kB / 0.6749 GB, free: 9.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000163/0.1811, allocations: 106.1 kB / 0.675 GB, free: 9.664 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1813, allocations: 366.8 kB / 0.6754 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003584/0.1816, allocations: 237 kB / 0.6756 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000474/0.1821, allocations: 406.5 kB / 0.676 GB, free: 8.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008505/0.183, allocations: 0.674 MB / 0.6766 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.183, allocations: 0 / 0.6766 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001628/0.1846, allocations: 0.9215 MB / 0.6775 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.1847, allocations: 8 kB / 0.6776 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.1847, allocations: 7.938 kB / 0.6776 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000778/0.1855, allocations: 222.8 kB / 0.6778 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004972/0.186, allocations: 115.8 kB / 0.6779 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005056/0.191, allocations: 5.34 MB / 0.6831 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004838/0.1915, allocations: 28.16 kB / 0.6831 GB, free: 0.7656 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.16e-05/0.1916, allocations: 28 kB / 0.6831 GB, free: 0.7383 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.0003212/0.1919, allocations: 234.6 kB / 0.6834 GB, free: 0.5039 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.1921, allocations: 67.56 kB / 0.6834 GB, free: 448 kB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001489/0.1936, allocations: 0.7735 MB / 0.6842 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1936, allocations: 4 kB / 0.6842 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.1936, allocations: 4 kB / 0.6842 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.1936, allocations: 3.938 kB / 0.6842 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/0.196, allocations: 1.503 MB / 0.6857 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.164e-05/0.196, allocations: 7.984 kB / 0.6857 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.1964, allocations: 67.83 kB / 0.6857 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006731/0.197, allocations: 210.5 kB / 0.6859 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/0.1971, allocations: 15.98 kB / 0.686 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004851/0.2019, allocations: 5.27 MB / 0.6911 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.202, allocations: 3.938 kB / 0.6911 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.2038, allocations: 1.128 MB / 0.6922 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.2041, allocations: 180.6 kB / 0.6924 GB, free: 6.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.416e-05/0.2042, allocations: 8 kB / 0.6924 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.2045, allocations: 27.91 kB / 0.6924 GB, free: 6.645 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.2046, allocations: 35.95 kB / 0.6925 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.91e-05/0.2047, allocations: 12 kB / 0.6925 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003451/0.205, allocations: 310.9 kB / 0.6928 GB, free: 6.297 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.205, allocations: 4.062 kB / 0.6928 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006816/0.2057, allocations: 168 kB / 0.6929 GB, free: 6.129 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.002088/0.2078, allocations: 1.712 MB / 0.6946 GB, free: 4.355 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001604/0.2094, allocations: 1.008 MB / 0.6956 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.2094, allocations: 4.125 kB / 0.6956 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009368/0.2104, allocations: 0.6875 MB / 0.6963 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009053/0.2113, allocations: 175.7 kB / 0.6964 GB, free: 2.41 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008609/0.2199, allocations: 5.65 MB / 0.7019 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.2205, allocations: 0.9494 MB / 0.7029 GB, free: 11.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003523/0.2209, allocations: 117 kB / 0.703 GB, free: 11.38 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002707/0.2211, allocations: 215.4 kB / 0.7032 GB, free: 11.16 MB / 0.545 GB Notification: Performance of SimCode: time 8.81e-07/0.2211, allocations: 0 / 0.7032 GB, free: 11.16 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04034/0.2615, allocations: 14.18 MB / 0.717 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.53/10.79, allocations: 6.5 kB / 0.717 GB, free: 13.25 MB / 0.5606 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)