Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases",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.001327/0.001331, allocations: 110.3 kB / 16.41 MB, free: 6.496 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.001296/0.001297, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.396/1.396, allocations: 222.9 MB / 241.1 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.8274/0.8274, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001905/0.001905, allocations: 74 kB / 0.5735 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1298/0.1317, allocations: 78.87 MB / 0.6506 GB, free: 3.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01374/0.1455, allocations: 11.07 MB / 0.6614 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009056/0.1546, allocations: 5.785 MB / 0.667 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005157/0.1551, allocations: 55.62 kB / 0.6671 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.004055/0.1592, allocations: 1.726 MB / 0.6688 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.1615, allocations: 1.151 MB / 0.6699 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.1633, allocations: 0.8057 MB / 0.6707 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002436/0.1657, allocations: 2.131 MB / 0.6728 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001592/0.1673, allocations: 1.314 MB / 0.674 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001015/0.1683, allocations: 0.8484 MB / 0.6749 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001159/0.1695, allocations: 0.9065 MB / 0.6757 GB, free: 9.719 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000179/0.1697, allocations: 112 kB / 0.6759 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.1718, allocations: 1.177 MB / 0.677 GB, free: 8.43 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000568/0.1724, allocations: 0.5297 MB / 0.6775 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000853/0.1732, allocations: 0.7849 MB / 0.6783 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003284/0.1765, allocations: 2.436 MB / 0.6807 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1766, allocations: 0 / 0.6807 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/0.1766, allocations: 4 kB / 0.6807 GB, free: 4.66 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.1766, allocations: 0 / 0.6807 GB, free: 4.66 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.002961/0.1796, allocations: 1.919 MB / 0.6825 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.1796, allocations: 8.031 kB / 0.6826 GB, free: 2.672 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002414/0.1798, allocations: 215.4 kB / 0.6828 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0044/0.1843, allocations: 0.6786 MB / 0.6834 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.1858, allocations: 1.017 MB / 0.6844 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.173e-05/0.1859, allocations: 98.83 kB / 0.6845 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001944/0.1861, allocations: 132.3 kB / 0.6846 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003125/0.1893, allocations: 2.206 MB / 0.6868 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.94e-05/0.1893, allocations: 11.88 kB / 0.6868 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001338/0.1895, allocations: 59.97 kB / 0.6869 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002163/0.1897, allocations: 170.3 kB / 0.687 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002902/0.1926, allocations: 1.867 MB / 0.6888 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.2046, allocations: 12.45 MB / 0.701 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004322/0.209, allocations: 1.964 MB / 0.7029 GB, free: 12.57 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008912/0.2099, allocations: 0.6128 MB / 0.7035 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000176/0.2101, allocations: 102.1 kB / 0.7036 GB, free: 11.84 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.2101, allocations: 47.5 kB / 0.7037 GB, free: 11.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=103): time 2.455e-06/0.2101, allocations: 0 / 0.7037 GB, free: 11.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=110): time 0.006317/0.2165, allocations: 3.728 MB / 0.7073 GB, free: 7.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.2165, allocations: 64.41 kB / 0.7074 GB, free: 7.812 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.2176, allocations: 0.9206 MB / 0.7083 GB, free: 6.875 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.867e-05/0.2177, allocations: 37.7 kB / 0.7083 GB, free: 6.832 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005517/0.2183, allocations: 0.7611 MB / 0.709 GB, free: 6.062 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003329/0.2186, allocations: 400.6 kB / 0.7094 GB, free: 5.668 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/0.219, allocations: 287.4 kB / 0.7097 GB, free: 5.379 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000188/0.2192, allocations: 305.1 kB / 0.71 GB, free: 5.078 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009457/0.2202, allocations: 0.609 MB / 0.7106 GB, free: 4.469 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001361/0.2215, allocations: 1.109 MB / 0.7117 GB, free: 3.137 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0025/0.224, allocations: 1.828 MB / 0.7134 GB, free: 1.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.004e-06/0.2241, allocations: 8 kB / 0.7135 GB, free: 1.086 MB / 0.545 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003512/0.2276, allocations: 2.112 MB / 0.7155 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.2276, allocations: 12 kB / 0.7155 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.2276, allocations: 16 kB / 0.7155 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008591/0.2285, allocations: 255.1 kB / 0.7158 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.2298, allocations: 375.4 kB / 0.7161 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009997/0.2398, allocations: 11.59 MB / 0.7275 GB, free: 1.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/0.241, allocations: 131.8 kB / 0.7276 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001107/0.2412, allocations: 64 kB / 0.7277 GB, free: 1.371 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000655/0.2418, allocations: 415.6 kB / 0.728 GB, free: 0.957 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/0.242, allocations: 139.1 kB / 0.7282 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003049/0.2451, allocations: 1.681 MB / 0.7298 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/0.2451, allocations: 12 kB / 0.7298 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.722e-06/0.2451, allocations: 3.984 kB / 0.7298 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.2452, allocations: 3.984 kB / 0.7298 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005213/0.2504, allocations: 3.288 MB / 0.7331 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.2504, allocations: 8.031 kB / 0.7331 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008786/0.2513, allocations: 219.6 kB / 0.7333 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007456/0.252, allocations: 254.5 kB / 0.7335 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.708e-05/0.2521, allocations: 24 kB / 0.7335 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2885/0.5406, allocations: 11.55 MB / 0.7448 GB, free: 83.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.083e-06/0.5406, allocations: 6.219 kB / 0.7448 GB, free: 83.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0028/0.5435, allocations: 1.815 MB / 0.7466 GB, free: 83.51 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00046/0.5439, allocations: 316.3 kB / 0.7469 GB, free: 83.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001624/0.5441, allocations: 29.42 kB / 0.7469 GB, free: 83.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007459/0.5449, allocations: 90.95 kB / 0.747 GB, free: 83.42 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.5451, allocations: 94.23 kB / 0.7471 GB, free: 83.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.614e-05/0.5451, allocations: 33.73 kB / 0.7471 GB, free: 83.41 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007247/0.5459, allocations: 0.6228 MB / 0.7477 GB, free: 83.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.21e-07/0.5459, allocations: 0 / 0.7477 GB, free: 83.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001275/0.5472, allocations: 390.7 kB / 0.7481 GB, free: 83.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002756/0.5499, allocations: 2.391 MB / 0.7504 GB, free: 82.37 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003673/0.5536, allocations: 2.508 MB / 0.7529 GB, free: 81.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.5536, allocations: 1.438 kB / 0.7529 GB, free: 81.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002232/0.5559, allocations: 1.636 MB / 0.7545 GB, free: 80.14 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001704/0.5576, allocations: 359.3 kB / 0.7548 GB, free: 80.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/0.5723, allocations: 11.52 MB / 0.7661 GB, free: 73.81 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008737/0.5732, allocations: 1.335 MB / 0.7674 GB, free: 73.03 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001012/0.5742, allocations: 353.9 kB / 0.7677 GB, free: 72.98 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/0.5748, allocations: 0.5446 MB / 0.7683 GB, free: 72.57 MB / 0.5762 GB Notification: Performance of SimCode: time 9.82e-07/0.5748, allocations: 0 / 0.7683 GB, free: 72.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06894/0.6437, allocations: 28.27 MB / 0.7959 GB, free: 52.71 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/12.78, allocations: 10.66 kB / 0.7959 GB, free: 52.71 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_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_Loads_Examples_ThreePhases.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1)