Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_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.005453/0.00546, allocations: 103.6 kB / 15.74 MB, free: 6.449 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.001704/0.001704, allocations: 196.5 kB / 16.67 MB, free: 6.355 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.439/1.439, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002619/0.002619, allocations: 286.6 kB / 290.8 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.123/1.123, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002762/0.002762, allocations: 104 kB / 0.6943 GB, free: 3.617 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4709/0.4737, allocations: 89.13 MB / 0.7813 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02093/0.4947, allocations: 16 MB / 0.797 GB, free: 3.055 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008865/0.5036, allocations: 4.815 MB / 0.8017 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.5049, allocations: 66.03 kB / 0.8017 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002859/0.5078, allocations: 1.045 MB / 0.8027 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002025/0.5098, allocations: 0.7485 MB / 0.8035 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002488/0.5123, allocations: 0.9157 MB / 0.8044 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004184/0.5165, allocations: 3.627 MB / 0.8079 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00546/0.522, allocations: 4.763 MB / 0.8126 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002616/0.5247, allocations: 1.574 MB / 0.8141 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002874/0.5276, allocations: 1.783 MB / 0.8158 GB, free: 7.211 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006571/0.5283, allocations: 344 kB / 0.8162 GB, free: 7.207 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.5301, allocations: 0.8022 MB / 0.817 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001723/0.5318, allocations: 1.323 MB / 0.8182 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002464/0.5343, allocations: 1.452 MB / 0.8197 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007618/0.542, allocations: 5.149 MB / 0.8247 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.542, allocations: 0 / 0.8247 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/0.542, allocations: 0 / 0.8247 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001632/0.5422, allocations: 0 / 0.8247 GB, free: 1.379 MB / 0.5762 GB 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.007408/0.5496, allocations: 2.721 MB / 0.8274 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.5497, allocations: 9.781 kB / 0.8274 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008944/0.5506, allocations: 371 kB / 0.8277 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004477/0.555, allocations: 0.8421 MB / 0.8285 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003501/0.5586, allocations: 1.576 MB / 0.8301 GB, free: 13.14 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000178/0.5588, allocations: 185.1 kB / 0.8303 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000894/0.5597, allocations: 232.4 kB / 0.8305 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0101/0.5698, allocations: 4.154 MB / 0.8345 GB, free: 8.441 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.846e-05/0.5699, allocations: 7.938 kB / 0.8345 GB, free: 8.434 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006142/0.5705, allocations: 99.92 kB / 0.8346 GB, free: 8.336 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000247/0.5708, allocations: 176.5 kB / 0.8348 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008999/0.5798, allocations: 3.628 MB / 0.8383 GB, free: 4.516 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02323/0.6031, allocations: 16.45 MB / 0.8544 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003748/0.6069, allocations: 2.296 MB / 0.8567 GB, free: 140 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009955/0.6079, allocations: 0.5825 MB / 0.8572 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000158/0.6081, allocations: 93.66 kB / 0.8573 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.406e-05/0.6081, allocations: 43.12 kB / 0.8574 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=72): time 2.395e-06/0.6081, allocations: 4 kB / 0.8574 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.006687/0.6148, allocations: 3.499 MB / 0.8608 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.6149, allocations: 115.4 kB / 0.8609 GB, free: 11.65 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/0.6164, allocations: 1.014 MB / 0.8619 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.774e-05/0.6165, allocations: 41.7 kB / 0.8619 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009817/0.6175, allocations: 1.138 MB / 0.863 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002875/0.6178, allocations: 293.6 kB / 0.8633 GB, free: 9.121 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004684/0.6183, allocations: 287.3 kB / 0.8636 GB, free: 8.836 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000289/0.6186, allocations: 414.7 kB / 0.864 GB, free: 8.422 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.6196, allocations: 0.6129 MB / 0.8646 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001535/0.6212, allocations: 1.189 MB / 0.8657 GB, free: 6.355 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002536/0.6237, allocations: 1.86 MB / 0.8675 GB, free: 4.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.21e-05/0.6238, allocations: 8 kB / 0.8676 GB, free: 4.223 MB / 0.6231 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003783/0.6276, allocations: 2.023 MB / 0.8695 GB, free: 2.18 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.6276, allocations: 18.03 kB / 0.8695 GB, free: 2.164 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.314e-05/0.6277, allocations: 20 kB / 0.8696 GB, free: 2.145 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004651/0.6281, allocations: 159.8 kB / 0.8697 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.6294, allocations: 347.4 kB / 0.8701 GB, free: 1.637 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.606e-05/0.6294, allocations: 39.84 kB / 0.8701 GB, free: 1.598 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.6306, allocations: 123.9 kB / 0.8702 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.6307, allocations: 71.94 kB / 0.8703 GB, free: 1.406 MB / 0.6231 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.001887/0.6326, allocations: 0.9779 MB / 0.8712 GB, free: 428 kB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003154/0.6329, allocations: 119.2 kB / 0.8713 GB, free: 308 kB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.6353, allocations: 1.23 MB / 0.8725 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.307e-05/0.6353, allocations: 12 kB / 0.8726 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.814e-06/0.6353, allocations: 0 / 0.8726 GB, free: 15.04 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/0.6354, allocations: 3.984 kB / 0.8726 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006375/0.6417, allocations: 3.802 MB / 0.8763 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.046e-05/0.6418, allocations: 4 kB / 0.8763 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006521/0.6424, allocations: 155.8 kB / 0.8764 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003667/0.6428, allocations: 139.6 kB / 0.8766 GB, free: 10.78 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.544e-05/0.6429, allocations: 24 kB / 0.8766 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.871e-05/0.6429, allocations: 15.88 kB / 0.8766 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.6429, allocations: 0 / 0.8766 GB, free: 10.74 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002138/0.6451, allocations: 1.466 MB / 0.878 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000497/0.6456, allocations: 284.3 kB / 0.8783 GB, free: 8.922 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001433/0.6457, allocations: 16 kB / 0.8783 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006055/0.6463, allocations: 63.91 kB / 0.8784 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6465, allocations: 64.36 kB / 0.8784 GB, free: 8.777 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.469e-05/0.6465, allocations: 20 kB / 0.8785 GB, free: 8.758 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000988/0.6475, allocations: 0.703 MB / 0.8791 GB, free: 8.043 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6475, allocations: 4 kB / 0.8791 GB, free: 8.039 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001462/0.649, allocations: 388 kB / 0.8795 GB, free: 7.66 MB / 0.6387 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.002541/0.6515, allocations: 2.045 MB / 0.8815 GB, free: 5.551 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002614/0.6542, allocations: 1.726 MB / 0.8832 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6542, allocations: 0 / 0.8832 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001099/0.6553, allocations: 0.8555 MB / 0.884 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/0.6569, allocations: 276.4 kB / 0.8843 GB, free: 2.535 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/0.6775, allocations: 12.89 MB / 0.8969 GB, free: 4.91 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002244/0.6798, allocations: 1.916 MB / 0.8988 GB, free: 2.957 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001149/0.681, allocations: 449.4 kB / 0.8992 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001201/0.6822, allocations: 0.7141 MB / 0.8999 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of SimCode: time 1.323e-06/0.6823, allocations: 0 / 0.8999 GB, free: 1.801 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06604/0.7483, allocations: 27.91 MB / 0.9271 GB, free: 6.238 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12.36, allocations: 10.53 kB / 0.9271 GB, free: 6.234 MB / 0.6856 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)