Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads",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.001114/0.001114, allocations: 104.8 kB / 16.27 MB, free: 5.98 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.001071/0.001071, allocations: 186.5 kB / 17.19 MB, free: 5.609 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.289/1.289, allocations: 222.9 MB / 240.9 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7183/0.7183, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 63.84 kB / 0.4912 GB, free: 7.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2969/0.2982, allocations: 77.92 MB / 0.5673 GB, free: 32.71 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03424/0.3325, allocations: 37.25 MB / 0.6037 GB, free: 5.438 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01961/0.3521, allocations: 13.7 MB / 0.6171 GB, free: 7.723 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00347/0.3556, allocations: 115.6 kB / 0.6172 GB, free: 7.609 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006432/0.3621, allocations: 2.278 MB / 0.6194 GB, free: 5.332 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005044/0.3672, allocations: 1.436 MB / 0.6208 GB, free: 3.898 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008682/0.3759, allocations: 3.519 MB / 0.6242 GB, free: 408 kB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006562/0.3825, allocations: 6.38 MB / 0.6305 GB, free: 10 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/0.394, allocations: 10.02 MB / 0.6403 GB, free: 15.89 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003552/0.3976, allocations: 2.727 MB / 0.6429 GB, free: 13.16 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004159/0.4018, allocations: 3.198 MB / 0.646 GB, free: 9.949 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001315/0.4031, allocations: 0.6172 MB / 0.6466 GB, free: 9.332 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002582/0.4057, allocations: 1.256 MB / 0.6479 GB, free: 8.074 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002473/0.4082, allocations: 2.476 MB / 0.6503 GB, free: 5.594 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002928/0.4112, allocations: 2.553 MB / 0.6528 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007337/0.4185, allocations: 9.108 MB / 0.6617 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.4186, allocations: 0 / 0.6617 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4186, allocations: 4 kB / 0.6617 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 0.0001447/0.4187, allocations: 0 / 0.6617 GB, free: 9.895 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.008283/0.427, allocations: 4.295 MB / 0.6659 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4271, allocations: 16.56 kB / 0.6659 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008803/0.4279, allocations: 0.6365 MB / 0.6665 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004692/0.4326, allocations: 1.038 MB / 0.6675 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00384/0.4365, allocations: 2.191 MB / 0.6697 GB, free: 1.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/0.4367, allocations: 329 kB / 0.67 GB, free: 1.266 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007868/0.4375, allocations: 428.2 kB / 0.6704 GB, free: 0.8477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01153/0.4491, allocations: 7.412 MB / 0.6776 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.659e-05/0.4492, allocations: 7.938 kB / 0.6776 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004297/0.4496, allocations: 180 kB / 0.6778 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002661/0.4499, allocations: 286.9 kB / 0.6781 GB, free: 8.734 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009428/0.4593, allocations: 6.022 MB / 0.684 GB, free: 2.703 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03367/0.493, allocations: 32.72 MB / 0.7159 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003195/0.4963, allocations: 2.146 MB / 0.718 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00148/0.4978, allocations: 1.251 MB / 0.7192 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001478/0.4979, allocations: 98.02 kB / 0.7193 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.259e-05/0.498, allocations: 51.48 kB / 0.7194 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=98): time 2.675e-06/0.498, allocations: 0 / 0.7194 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=101): time 0.006913/0.5049, allocations: 5.274 MB / 0.7245 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.505, allocations: 145.5 kB / 0.7247 GB, free: 6.02 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001676/0.5067, allocations: 1.476 MB / 0.7261 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.849e-05/0.5067, allocations: 41.7 kB / 0.7261 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000918/0.5077, allocations: 1.859 MB / 0.7279 GB, free: 2.598 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002836/0.508, allocations: 374.8 kB / 0.7283 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000602/0.5086, allocations: 467.1 kB / 0.7288 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.5087, allocations: 301.1 kB / 0.729 GB, free: 1.465 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001602/0.5103, allocations: 1.145 MB / 0.7302 GB, free: 316 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002197/0.5125, allocations: 2.207 MB / 0.7323 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003928/0.5164, allocations: 3.438 MB / 0.7357 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/0.5164, allocations: 8 kB / 0.7357 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.004861/0.5213, allocations: 3.378 MB / 0.739 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.5214, allocations: 20 kB / 0.739 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/0.5214, allocations: 32.88 kB / 0.739 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.704e-05/0.5215, allocations: 51.94 kB / 0.7391 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002204/0.5237, allocations: 0.6317 MB / 0.7397 GB, free: 5.539 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.425e-05/0.5237, allocations: 67.78 kB / 0.7398 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001992/0.5257, allocations: 322.7 kB / 0.7401 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001701/0.5259, allocations: 112 kB / 0.7402 GB, free: 5.047 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003325/0.5292, allocations: 2.44 MB / 0.7426 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001926/0.5312, allocations: 2.043 MB / 0.7445 GB, free: 16 kB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2417/0.7729, allocations: 3.063 MB / 0.7475 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.174e-05/0.773, allocations: 10.31 kB / 0.7476 GB, free: 150.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004894/0.7779, allocations: 2.98 MB / 0.7505 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.419e-05/0.7779, allocations: 20.06 kB / 0.7505 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-05/0.778, allocations: 35.72 kB / 0.7505 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.728e-05/0.7781, allocations: 48.34 kB / 0.7506 GB, free: 149.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001978/0.7801, allocations: 0.5648 MB / 0.7511 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.134e-05/0.7801, allocations: 75.8 kB / 0.7512 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00184/0.782, allocations: 260.4 kB / 0.7514 GB, free: 149.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/0.7821, allocations: 113.7 kB / 0.7515 GB, free: 149.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00039/0.7825, allocations: 338.8 kB / 0.7519 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.7828, allocations: 161.9 kB / 0.752 GB, free: 149.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003151/0.786, allocations: 2.246 MB / 0.7542 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.15e-05/0.786, allocations: 14.84 kB / 0.7542 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.713e-06/0.786, allocations: 0 / 0.7542 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.303e-05/0.786, allocations: 7.922 kB / 0.7542 GB, free: 148.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01218/0.7982, allocations: 10.99 MB / 0.765 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/0.7983, allocations: 10 kB / 0.765 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001352/0.7996, allocations: 391.1 kB / 0.7653 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.031e-05/0.7997, allocations: 23.97 kB / 0.7654 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.03e-05/0.7997, allocations: 34.36 kB / 0.7654 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.519e-05/0.7998, allocations: 19.75 kB / 0.7654 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.018e-05/0.7998, allocations: 16.72 kB / 0.7654 GB, free: 144.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002636/0.8024, allocations: 2.759 MB / 0.7681 GB, free: 142.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006492/0.8031, allocations: 457.9 kB / 0.7686 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/0.8033, allocations: 33.66 kB / 0.7686 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/0.8045, allocations: 172.5 kB / 0.7688 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.8047, allocations: 101.3 kB / 0.7689 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.866e-05/0.8047, allocations: 43.28 kB / 0.7689 GB, free: 142.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001354/0.8061, allocations: 1.004 MB / 0.7699 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8061, allocations: 0 / 0.7699 GB, free: 142.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.003367/0.8095, allocations: 1.134 MB / 0.771 GB, free: 142 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002659/0.8122, allocations: 3.358 MB / 0.7743 GB, free: 139.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00502/0.8172, allocations: 4.293 MB / 0.7785 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.8172, allocations: 1.781 kB / 0.7785 GB, free: 137.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.8182, allocations: 1.055 MB / 0.7795 GB, free: 137.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002116/0.8204, allocations: 452.7 kB / 0.7799 GB, free: 137.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02195/0.8423, allocations: 22.86 MB / 0.8023 GB, free: 113 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002063/0.8444, allocations: 2.864 MB / 0.805 GB, free: 110.1 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002607/0.8471, allocations: 1.23 MB / 0.8062 GB, free: 108.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00129/0.8484, allocations: 1.272 MB / 0.8075 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of SimCode: time 7.01e-07/0.8484, allocations: 0 / 0.8075 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05657/0.9049, allocations: 46.73 MB / 0.8531 GB, free: 61.34 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.087/8.992, allocations: 14.8 kB / 0.8531 GB, free: 61.32 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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_ThreePhasesUnbalanced_Loads_Examples_Loads.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1)