Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",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.001408/0.001409, allocations: 105.1 kB / 16.27 MB, free: 6.105 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.001492/0.001493, allocations: 188.5 kB / 17.2 MB, free: 5.719 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.288/1.288, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7329/0.7329, allocations: 122.8 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3378, allocations: 77.91 MB / 0.5673 GB, free: 32.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.015/0.3528, allocations: 16 MB / 0.5829 GB, free: 21.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.006791/0.3597, allocations: 4.825 MB / 0.5876 GB, free: 18.28 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001098/0.3608, allocations: 66.25 kB / 0.5877 GB, free: 18.26 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0022/0.3631, allocations: 1.043 MB / 0.5887 GB, free: 17.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001445/0.3645, allocations: 0.7438 MB / 0.5894 GB, free: 16.84 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001936/0.3665, allocations: 0.9134 MB / 0.5903 GB, free: 16.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.003836/0.3703, allocations: 3.611 MB / 0.5939 GB, free: 14.11 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004395/0.3747, allocations: 4.812 MB / 0.5986 GB, free: 10.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001768/0.3765, allocations: 1.57 MB / 0.6001 GB, free: 9.176 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001396/0.3779, allocations: 1.784 MB / 0.6018 GB, free: 7.387 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003529/0.3783, allocations: 340 kB / 0.6022 GB, free: 7.055 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001277/0.3796, allocations: 0.7919 MB / 0.6029 GB, free: 6.262 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008468/0.3804, allocations: 1.326 MB / 0.6042 GB, free: 4.934 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001136/0.3816, allocations: 1.455 MB / 0.6056 GB, free: 3.473 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003222/0.3848, allocations: 5.095 MB / 0.6106 GB, free: 14.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3848, allocations: 0 / 0.6106 GB, free: 14.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.384e-06/0.3848, allocations: 0 / 0.6106 GB, free: 14.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 8.784e-05/0.3849, allocations: 0 / 0.6106 GB, free: 14.36 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.004524/0.3895, allocations: 2.65 MB / 0.6132 GB, free: 11.65 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.3895, allocations: 12.62 kB / 0.6132 GB, free: 11.64 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004168/0.3899, allocations: 378.5 kB / 0.6136 GB, free: 11.26 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003762/0.3937, allocations: 0.8329 MB / 0.6144 GB, free: 10.42 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002204/0.3959, allocations: 1.497 MB / 0.6159 GB, free: 8.879 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/0.396, allocations: 177.1 kB / 0.616 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003966/0.3965, allocations: 228.4 kB / 0.6162 GB, free: 8.48 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005934/0.4024, allocations: 4.173 MB / 0.6203 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.39e-05/0.4025, allocations: 0 / 0.6203 GB, free: 4.168 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002483/0.4027, allocations: 103.9 kB / 0.6204 GB, free: 4.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001736/0.4029, allocations: 168.5 kB / 0.6206 GB, free: 3.898 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00509/0.408, allocations: 3.632 MB / 0.6241 GB, free: 256 kB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01633/0.4243, allocations: 16.55 MB / 0.6403 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003266/0.4276, allocations: 2.293 MB / 0.6425 GB, free: 11.77 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007623/0.4284, allocations: 0.5831 MB / 0.6431 GB, free: 11.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.4286, allocations: 93.61 kB / 0.6432 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.893e-05/0.4286, allocations: 51.09 kB / 0.6432 GB, free: 11.02 MB / 494.1 MB Notification: Performance of pre-optimization done (n=72): time 2.274e-06/0.4286, allocations: 4 kB / 0.6432 GB, free: 11.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=76): time 0.006155/0.4348, allocations: 3.428 MB / 0.6466 GB, free: 7.477 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.992e-05/0.4349, allocations: 115.4 kB / 0.6467 GB, free: 7.34 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001286/0.4362, allocations: 1.01 MB / 0.6477 GB, free: 6.305 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.4362, allocations: 41.7 kB / 0.6477 GB, free: 6.258 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008688/0.4371, allocations: 1.103 MB / 0.6488 GB, free: 5.137 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.4374, allocations: 272.2 kB / 0.6491 GB, free: 4.867 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000468/0.4379, allocations: 287.1 kB / 0.6493 GB, free: 4.582 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002223/0.4381, allocations: 414.6 kB / 0.6497 GB, free: 4.168 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001052/0.4391, allocations: 0.6167 MB / 0.6503 GB, free: 3.551 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001621/0.4408, allocations: 1.189 MB / 0.6515 GB, free: 2.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/0.4436, allocations: 1.86 MB / 0.6533 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.758e-05/0.4437, allocations: 11.94 kB / 0.6533 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003624/0.4473, allocations: 2.011 MB / 0.6553 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.183e-05/0.4474, allocations: 15.98 kB / 0.6553 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.731e-05/0.4474, allocations: 20 kB / 0.6553 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004841/0.4479, allocations: 167.7 kB / 0.6555 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/0.449, allocations: 343.4 kB / 0.6558 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-05/0.4491, allocations: 39.86 kB / 0.6558 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.4502, allocations: 127.7 kB / 0.656 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000125/0.4503, allocations: 68 kB / 0.656 GB, free: 13.15 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001551/0.4519, allocations: 0.9771 MB / 0.657 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003054/0.4522, allocations: 106.7 kB / 0.6571 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002084/0.4543, allocations: 1.23 MB / 0.6583 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.4543, allocations: 11.98 kB / 0.6583 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/0.4543, allocations: 8 kB / 0.6583 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.4543, allocations: 3.984 kB / 0.6583 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005629/0.46, allocations: 3.808 MB / 0.662 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.46, allocations: 0 / 0.662 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005878/0.4606, allocations: 155.8 kB / 0.6622 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/0.461, allocations: 143.3 kB / 0.6623 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.476e-05/0.461, allocations: 20 kB / 0.6623 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.496e-06/0.461, allocations: 16.02 kB / 0.6623 GB, free: 6.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.461, allocations: 4 kB / 0.6623 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002024/0.4631, allocations: 1.464 MB / 0.6638 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.4635, allocations: 275.8 kB / 0.664 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000171/0.4637, allocations: 12 kB / 0.664 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006059/0.4643, allocations: 67.91 kB / 0.6641 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001539/0.4645, allocations: 60.36 kB / 0.6642 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.234e-05/0.4645, allocations: 28 kB / 0.6642 GB, free: 4.508 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001022/0.4656, allocations: 0.6991 MB / 0.6649 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4656, allocations: 0 / 0.6649 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001452/0.467, allocations: 392 kB / 0.6653 GB, free: 3.414 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 4 systems {(2,100.0%), (2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002382/0.4694, allocations: 2.036 MB / 0.6672 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003462/0.4729, allocations: 2.011 MB / 0.6692 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.001e-06/0.4729, allocations: 0 / 0.6692 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.474, allocations: 0.8541 MB / 0.67 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001479/0.4755, allocations: 280.1 kB / 0.6703 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/0.4947, allocations: 13.33 MB / 0.6833 GB, free: 15.82 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001814/0.4966, allocations: 1.92 MB / 0.6852 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.00109/0.4977, allocations: 449.4 kB / 0.6856 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008079/0.4985, allocations: 0.7102 MB / 0.6863 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of SimCode: time 7.31e-07/0.4985, allocations: 0 / 0.6863 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05276/0.5512, allocations: 27.28 MB / 0.713 GB, free: 1.789 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.241/9.792, allocations: 6.359 kB / 0.713 GB, free: 1.789 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_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_Impedances.fmu > IBPSA_latest_IBPSA.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)