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.001365/0.001365, allocations: 102.8 kB / 16.27 MB, free: 5.961 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.001265/0.001266, allocations: 189.8 kB / 17.2 MB, free: 5.59 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.283/1.283, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7938/0.7938, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 59.91 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3402, allocations: 77.93 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.01296/0.3532, allocations: 11.07 MB / 0.5781 GB, free: 25.22 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.008781/0.3621, allocations: 5.79 MB / 0.5838 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009965/0.3631, allocations: 50.06 kB / 0.5838 GB, free: 21.28 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003714/0.3669, allocations: 1.729 MB / 0.5855 GB, free: 19.96 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.3698, allocations: 1.141 MB / 0.5866 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002207/0.3721, allocations: 0.8113 MB / 0.5874 GB, free: 18.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002296/0.3744, allocations: 2.118 MB / 0.5895 GB, free: 17.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001529/0.3759, allocations: 1.313 MB / 0.5908 GB, free: 16.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.3772, allocations: 0.8415 MB / 0.5916 GB, free: 16.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001013/0.3782, allocations: 0.9062 MB / 0.5925 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002159/0.3784, allocations: 118.1 kB / 0.5926 GB, free: 15.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002454/0.3809, allocations: 1.177 MB / 0.5937 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004913/0.3814, allocations: 0.5242 MB / 0.5942 GB, free: 14.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000761/0.3822, allocations: 0.7854 MB / 0.595 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002658/0.3848, allocations: 2.397 MB / 0.5973 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.329e-06/0.3849, allocations: 4 kB / 0.5974 GB, free: 12.01 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3849, allocations: 0 / 0.5974 GB, free: 12.01 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.012e-05/0.3849, allocations: 0 / 0.5974 GB, free: 12.01 MB / 446.1 MB 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.002342/0.3872, allocations: 1.856 MB / 0.5992 GB, free: 10.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.3873, allocations: 12.62 kB / 0.5992 GB, free: 10.08 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.3875, allocations: 215.4 kB / 0.5994 GB, free: 9.859 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004502/0.392, allocations: 0.6698 MB / 0.6 GB, free: 9.188 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001264/0.3933, allocations: 0.9146 MB / 0.6009 GB, free: 8.227 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.567e-05/0.3933, allocations: 94.89 kB / 0.601 GB, free: 8.133 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001793/0.3935, allocations: 124.3 kB / 0.6011 GB, free: 8.012 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002347/0.3959, allocations: 2.214 MB / 0.6033 GB, free: 5.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.496e-05/0.3959, allocations: 7.938 kB / 0.6033 GB, free: 5.562 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/0.3961, allocations: 55.97 kB / 0.6034 GB, free: 5.508 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/0.3962, allocations: 166.3 kB / 0.6035 GB, free: 5.344 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002307/0.3985, allocations: 1.871 MB / 0.6053 GB, free: 3.465 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.4096, allocations: 12.48 MB / 0.6175 GB, free: 6.039 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004419/0.4141, allocations: 1.976 MB / 0.6195 GB, free: 4.047 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009015/0.415, allocations: 0.605 MB / 0.6201 GB, free: 3.438 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001698/0.4152, allocations: 102.1 kB / 0.6201 GB, free: 3.32 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.4152, allocations: 51.44 kB / 0.6202 GB, free: 3.262 MB / 462.1 MB Notification: Performance of pre-optimization done (n=103): time 2.625e-06/0.4153, allocations: 0 / 0.6202 GB, free: 3.262 MB / 462.1 MB Notification: Performance of matching and sorting (n=110): time 0.00626/0.4215, allocations: 3.698 MB / 0.6238 GB, free: 15.4 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.4216, allocations: 68.34 kB / 0.6239 GB, free: 15.32 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.4227, allocations: 0.9203 MB / 0.6248 GB, free: 14.38 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.523e-05/0.4228, allocations: 49.7 kB / 0.6248 GB, free: 14.33 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004541/0.4233, allocations: 0.7276 MB / 0.6255 GB, free: 13.59 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.4236, allocations: 390.4 kB / 0.6259 GB, free: 13.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000384/0.424, allocations: 287.2 kB / 0.6262 GB, free: 12.91 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.309e-05/0.4241, allocations: 301.1 kB / 0.6265 GB, free: 12.62 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009557/0.425, allocations: 0.6129 MB / 0.6271 GB, free: 12 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/0.4263, allocations: 1.109 MB / 0.6281 GB, free: 10.68 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002392/0.4287, allocations: 1.832 MB / 0.6299 GB, free: 8.629 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.4287, allocations: 4 kB / 0.6299 GB, free: 8.625 MB / 478.1 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.003408/0.4321, allocations: 2.096 MB / 0.632 GB, free: 6.496 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.4322, allocations: 12 kB / 0.632 GB, free: 6.484 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/0.4322, allocations: 16 kB / 0.632 GB, free: 6.469 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008545/0.4331, allocations: 267.2 kB / 0.6323 GB, free: 6.184 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001364/0.4344, allocations: 371.4 kB / 0.6326 GB, free: 5.82 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008931/0.4434, allocations: 11.59 MB / 0.6439 GB, free: 9.113 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/0.4448, allocations: 131.9 kB / 0.6441 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.445, allocations: 71.98 kB / 0.6441 GB, free: 8.914 MB / 494.1 MB 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.0007316/0.4457, allocations: 401.2 kB / 0.6445 GB, free: 8.512 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003009/0.446, allocations: 134.4 kB / 0.6446 GB, free: 8.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002883/0.4489, allocations: 1.689 MB / 0.6463 GB, free: 6.66 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/0.449, allocations: 8 kB / 0.6463 GB, free: 6.652 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.449, allocations: 4 kB / 0.6463 GB, free: 6.648 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.449, allocations: 7.922 kB / 0.6463 GB, free: 6.641 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005302/0.4543, allocations: 3.291 MB / 0.6495 GB, free: 3.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.4543, allocations: 4.688 kB / 0.6495 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009289/0.4553, allocations: 223.6 kB / 0.6497 GB, free: 2.98 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007315/0.456, allocations: 246.6 kB / 0.65 GB, free: 2.715 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.168e-05/0.4561, allocations: 31.94 kB / 0.65 GB, free: 2.684 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008707/0.4648, allocations: 11.57 MB / 0.6613 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.883e-06/0.4648, allocations: 8 kB / 0.6613 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/0.468, allocations: 1.792 MB / 0.6631 GB, free: 4.078 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007069/0.4687, allocations: 307.4 kB / 0.6634 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003065/0.469, allocations: 24 kB / 0.6634 GB, free: 3.734 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.47, allocations: 95.86 kB / 0.6635 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002246/0.4703, allocations: 100.6 kB / 0.6636 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.765e-05/0.4704, allocations: 36 kB / 0.6636 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008969/0.4713, allocations: 0.6138 MB / 0.6642 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.072e-06/0.4713, allocations: 4 kB / 0.6642 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001626/0.4729, allocations: 396 kB / 0.6646 GB, free: 2.496 MB / 0.4981 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.003123/0.476, allocations: 2.39 MB / 0.6669 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.004663/0.4807, allocations: 2.871 MB / 0.6697 GB, free: 13.01 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.416e-06/0.4807, allocations: 4 kB / 0.6697 GB, free: 13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.483, allocations: 1.63 MB / 0.6713 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/0.485, allocations: 357 kB / 0.6717 GB, free: 10.94 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/0.5022, allocations: 12.02 MB / 0.6834 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.5033, allocations: 1.327 MB / 0.6847 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001186/0.5045, allocations: 359.3 kB / 0.685 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007523/0.5053, allocations: 0.5344 MB / 0.6855 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of SimCode: time 9.82e-07/0.5053, allocations: 3.938 kB / 0.6856 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06863/0.5739, allocations: 27.87 MB / 0.7128 GB, free: 252 kB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.323/9.897, allocations: 5.5 kB / 0.7128 GB, free: 248 kB / 0.545 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)