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.001397/0.001397, allocations: 108.3 kB / 16.41 MB, free: 6.512 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.001727/0.001727, allocations: 193.2 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.461/1.461, allocations: 222.9 MB / 241.1 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.8416/0.8416, allocations: 126.7 MB / 417.9 MB, free: 12.28 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 72.47 kB / 0.5735 GB, free: 26.97 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1469, allocations: 78.87 MB / 0.6506 GB, free: 3.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.009026/0.1559, allocations: 6.123 MB / 0.6565 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005661/0.1616, allocations: 3.176 MB / 0.6596 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005773/0.1622, allocations: 31.81 kB / 0.6597 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002543/0.1648, allocations: 0.9405 MB / 0.6606 GB, free: 9.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.166, allocations: 465.5 kB / 0.661 GB, free: 8.812 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.1673, allocations: 0.5059 MB / 0.6615 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001436/0.1688, allocations: 1.104 MB / 0.6626 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001001/0.1698, allocations: 0.6468 MB / 0.6632 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006913/0.1705, allocations: 430.4 kB / 0.6636 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007261/0.1712, allocations: 470.2 kB / 0.6641 GB, free: 5.668 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001298/0.1714, allocations: 60 kB / 0.6642 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009245/0.1723, allocations: 494.9 kB / 0.6646 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003348/0.1726, allocations: 283.3 kB / 0.6649 GB, free: 4.848 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004835/0.1731, allocations: 405.9 kB / 0.6653 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001508/0.1746, allocations: 1.183 MB / 0.6664 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1747, allocations: 0 / 0.6664 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.182e-06/0.1747, allocations: 0 / 0.6664 GB, free: 3.262 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.1747, allocations: 0 / 0.6664 GB, free: 3.262 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.001685/0.1764, allocations: 1.086 MB / 0.6675 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.1764, allocations: 8.031 kB / 0.6675 GB, free: 2.113 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.1766, allocations: 118.7 kB / 0.6676 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001541/0.1781, allocations: 224.1 kB / 0.6678 GB, free: 1.77 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009385/0.1791, allocations: 0.6004 MB / 0.6684 GB, free: 1.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.512e-05/0.1791, allocations: 49.62 kB / 0.6685 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.1792, allocations: 68.36 kB / 0.6685 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001573/0.1808, allocations: 1.03 MB / 0.6695 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.1808, allocations: 11.89 kB / 0.6695 GB, free: 15.86 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.069e-05/0.1809, allocations: 28 kB / 0.6696 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.964e-05/0.181, allocations: 69.27 kB / 0.6696 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.1822, allocations: 0.6957 MB / 0.6703 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005462/0.1876, allocations: 5.742 MB / 0.6759 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008921/0.1886, allocations: 0.5999 MB / 0.6765 GB, free: 8.254 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008507/0.1894, allocations: 428.6 kB / 0.6769 GB, free: 7.832 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.1895, allocations: 4 kB / 0.6769 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.1895, allocations: 42.56 kB / 0.677 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=41): time 2.114e-06/0.1895, allocations: 0 / 0.677 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.004604/0.1941, allocations: 2.031 MB / 0.679 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.219e-05/0.1942, allocations: 55.41 kB / 0.679 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.1947, allocations: 458.9 kB / 0.6794 GB, free: 5.133 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.736e-05/0.1948, allocations: 37.69 kB / 0.6795 GB, free: 5.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002961/0.1951, allocations: 400.1 kB / 0.6799 GB, free: 4.691 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000137/0.1952, allocations: 162.6 kB / 0.68 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001767/0.1954, allocations: 114.2 kB / 0.6801 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1956, allocations: 358.8 kB / 0.6805 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003822/0.196, allocations: 249.1 kB / 0.6807 GB, free: 3.812 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005504/0.1965, allocations: 453 kB / 0.6811 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.1976, allocations: 0.748 MB / 0.6819 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.758e-06/0.1976, allocations: 0 / 0.6819 GB, free: 2.43 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002051/0.1997, allocations: 1.051 MB / 0.6829 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.1997, allocations: 9.875 kB / 0.6829 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.1997, allocations: 11.94 kB / 0.6829 GB, free: 1.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.2008, allocations: 315.3 kB / 0.6832 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003323/0.2011, allocations: 95.83 kB / 0.6833 GB, free: 0.9258 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008434/0.2096, allocations: 7.472 MB / 0.6906 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004735/0.2101, allocations: 32.11 kB / 0.6906 GB, free: 8.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.082e-05/0.2101, allocations: 24 kB / 0.6907 GB, free: 8.84 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.0003687/0.2105, allocations: 253.5 kB / 0.6909 GB, free: 8.582 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000116/0.2106, allocations: 71.5 kB / 0.691 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001838/0.2125, allocations: 0.8923 MB / 0.6918 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.2125, allocations: 4 kB / 0.6918 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.2125, allocations: 4 kB / 0.6918 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.2125, allocations: 3.984 kB / 0.6918 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.2154, allocations: 1.685 MB / 0.6935 GB, free: 5.812 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.292e-06/0.2154, allocations: 4 kB / 0.6935 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001922/0.2156, allocations: 43.91 kB / 0.6935 GB, free: 5.766 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009759/0.2166, allocations: 299.4 kB / 0.6938 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.2167, allocations: 11.98 kB / 0.6938 GB, free: 5.449 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008224/0.2249, allocations: 7.459 MB / 0.7011 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.2249, allocations: 3.938 kB / 0.7011 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001825/0.2268, allocations: 0.9958 MB / 0.7021 GB, free: 12.38 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002489/0.227, allocations: 180.6 kB / 0.7023 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.626e-05/0.2271, allocations: 12 kB / 0.7023 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002845/0.2274, allocations: 27.91 kB / 0.7023 GB, free: 12.15 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.2275, allocations: 35.89 kB / 0.7023 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.2275, allocations: 23.92 kB / 0.7024 GB, free: 12.09 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003599/0.2279, allocations: 306.9 kB / 0.7027 GB, free: 11.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2279, allocations: 0 / 0.7027 GB, free: 11.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0007499/0.2287, allocations: 192 kB / 0.7028 GB, free: 11.61 MB / 0.545 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.002169/0.2308, allocations: 1.556 MB / 0.7044 GB, free: 9.988 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002025/0.2329, allocations: 1.199 MB / 0.7055 GB, free: 8.738 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.2329, allocations: 0 / 0.7055 GB, free: 8.738 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/0.2342, allocations: 0.8542 MB / 0.7064 GB, free: 7.832 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001054/0.2353, allocations: 206.4 kB / 0.7066 GB, free: 7.641 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008602/0.2439, allocations: 5.885 MB / 0.7123 GB, free: 1.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007514/0.2447, allocations: 0.9921 MB / 0.7133 GB, free: 408 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0003206/0.245, allocations: 101.3 kB / 0.7134 GB, free: 308 kB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002879/0.2453, allocations: 223.4 kB / 0.7136 GB, free: 84 kB / 0.545 GB Notification: Performance of SimCode: time 2.084e-06/0.2453, allocations: 7.938 kB / 0.7136 GB, free: 76 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05368/0.299, allocations: 15.37 MB / 0.7286 GB, free: 0.9531 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.44/10.73, allocations: 15.62 kB / 0.7286 GB, free: 0.9414 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)