Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L",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.00168/0.00168, allocations: 99.98 kB / 16.4 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.001783/0.001783, allocations: 196 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7641/0.7641, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 64.84 kB / 0.568 GB, free: 28.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1357, allocations: 77.93 MB / 0.6441 GB, free: 9.555 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.007871/0.1436, allocations: 6.138 MB / 0.6501 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005107/0.1487, allocations: 3.164 MB / 0.6531 GB, free: 220 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000603/0.1493, allocations: 31.81 kB / 0.6532 GB, free: 188 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.1518, allocations: 0.9281 MB / 0.6541 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.1531, allocations: 493.5 kB / 0.6546 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.1544, allocations: 0.5004 MB / 0.655 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001366/0.1558, allocations: 1.116 MB / 0.6561 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009327/0.1567, allocations: 0.6352 MB / 0.6568 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006905/0.1574, allocations: 442.4 kB / 0.6572 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006563/0.1581, allocations: 470.2 kB / 0.6576 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001098/0.1582, allocations: 60 kB / 0.6577 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008558/0.1591, allocations: 490.9 kB / 0.6581 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002946/0.1594, allocations: 287.2 kB / 0.6584 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005276/0.1599, allocations: 409.8 kB / 0.6588 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001534/0.1614, allocations: 1.183 MB / 0.66 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.1615, allocations: 0 / 0.66 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.866e-06/0.1615, allocations: 4 kB / 0.66 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.319e-05/0.1615, allocations: 0 / 0.66 GB, free: 9.203 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002038/0.1636, allocations: 1.082 MB / 0.661 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.464e-05/0.1636, allocations: 12.62 kB / 0.661 GB, free: 8.055 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001734/0.1638, allocations: 114.7 kB / 0.6612 GB, free: 7.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001623/0.1654, allocations: 228.2 kB / 0.6614 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001058/0.1665, allocations: 0.6043 MB / 0.662 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/0.1665, allocations: 45.67 kB / 0.662 GB, free: 7.023 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.1667, allocations: 60.38 kB / 0.6621 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001363/0.168, allocations: 1.03 MB / 0.6631 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/0.1681, allocations: 15.89 kB / 0.6631 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.424e-05/0.1681, allocations: 24 kB / 0.6631 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.004e-05/0.1682, allocations: 77.25 kB / 0.6632 GB, free: 5.703 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009681/0.1692, allocations: 0.6879 MB / 0.6638 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004701/0.1739, allocations: 5.749 MB / 0.6695 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.1748, allocations: 0.599 MB / 0.67 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008278/0.1756, allocations: 425.3 kB / 0.6705 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.5e-05/0.1756, allocations: 8 kB / 0.6705 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.1757, allocations: 42.34 kB / 0.6705 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 2.024e-06/0.1757, allocations: 0 / 0.6705 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.004264/0.18, allocations: 2.018 MB / 0.6725 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.18, allocations: 59.19 kB / 0.6725 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/0.1805, allocations: 466.8 kB / 0.673 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.095e-05/0.1805, allocations: 33.7 kB / 0.673 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000266/0.1808, allocations: 400.1 kB / 0.6734 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.1809, allocations: 166.5 kB / 0.6735 GB, free: 10.47 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001549/0.1811, allocations: 110.3 kB / 0.6737 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1812, allocations: 362.8 kB / 0.674 GB, free: 9.992 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003415/0.1816, allocations: 241.2 kB / 0.6742 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005207/0.1821, allocations: 457 kB / 0.6747 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009125/0.183, allocations: 0.744 MB / 0.6754 GB, free: 8.375 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.778e-06/0.183, allocations: 4 kB / 0.6754 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00175/0.1848, allocations: 1.046 MB / 0.6764 GB, free: 7.305 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.1848, allocations: 8 kB / 0.6764 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.1848, allocations: 11.94 kB / 0.6764 GB, free: 7.285 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.1859, allocations: 319.6 kB / 0.6767 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003205/0.1862, allocations: 99.81 kB / 0.6768 GB, free: 6.863 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006913/0.1931, allocations: 7.475 MB / 0.6841 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000479/0.1936, allocations: 32.2 kB / 0.6842 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.1937, allocations: 32 kB / 0.6842 GB, free: 14.76 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003594/0.194, allocations: 245.5 kB / 0.6844 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.747e-05/0.1941, allocations: 63.56 kB / 0.6845 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001626/0.1958, allocations: 0.8923 MB / 0.6854 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1958, allocations: 7.938 kB / 0.6854 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.1958, allocations: 4 kB / 0.6854 GB, free: 13.53 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.1958, allocations: 7.984 kB / 0.6854 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.1984, allocations: 1.673 MB / 0.687 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1984, allocations: 288 / 0.687 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/0.1986, allocations: 43.91 kB / 0.6871 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009044/0.1995, allocations: 315.2 kB / 0.6874 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.008e-05/0.1996, allocations: 12 kB / 0.6874 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006508/0.2061, allocations: 7.455 MB / 0.6947 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.2061, allocations: 3.938 kB / 0.6947 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001538/0.2077, allocations: 0.9919 MB / 0.6956 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.2079, allocations: 180.7 kB / 0.6958 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.551e-05/0.208, allocations: 8 kB / 0.6958 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.2083, allocations: 23.92 kB / 0.6958 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.2084, allocations: 43.88 kB / 0.6959 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.2084, allocations: 16 kB / 0.6959 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003175/0.2087, allocations: 310.9 kB / 0.6962 GB, free: 1.738 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.382e-06/0.2087, allocations: 8 kB / 0.6962 GB, free: 1.73 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000743/0.2095, allocations: 195.9 kB / 0.6964 GB, free: 1.539 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001805/0.2113, allocations: 1.558 MB / 0.6979 GB, free: 15.92 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.2131, allocations: 1.195 MB / 0.6991 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.2131, allocations: 0 / 0.6991 GB, free: 14.68 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001158/0.2143, allocations: 0.8581 MB / 0.6999 GB, free: 13.77 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009586/0.2152, allocations: 193.7 kB / 0.7001 GB, free: 13.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007822/0.2231, allocations: 5.896 MB / 0.7058 GB, free: 7.359 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008186/0.2239, allocations: 0.9959 MB / 0.7068 GB, free: 6.336 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0004222/0.2244, allocations: 97.19 kB / 0.7069 GB, free: 6.242 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.2247, allocations: 227.4 kB / 0.7071 GB, free: 6.02 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.2247, allocations: 0 / 0.7071 GB, free: 6.02 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04566/0.2704, allocations: 15.38 MB / 0.7221 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.917/10.19, allocations: 3.938 kB / 0.7221 GB, free: 6.891 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_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_L.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1)