Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="BuildingSystems_BuildingSystems_Electrical_AC_ThreePhasesBalanced_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.004531/0.004531, allocations: 98.38 kB / 15.73 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.001274/0.001274, allocations: 195.3 kB / 16.67 MB, free: 6.391 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002662/0.002662, allocations: 286.5 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.029/1.029, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002777/0.002777, allocations: 99.91 kB / 0.681 GB, free: 15.98 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1532, allocations: 86.97 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.006401/0.1596, allocations: 4.893 MB / 0.7707 GB, free: 4.023 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00391/0.1636, allocations: 2.479 MB / 0.7731 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002224/0.1638, allocations: 23.81 kB / 0.7731 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001159/0.165, allocations: 412.2 kB / 0.7735 GB, free: 1.109 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0008942/0.1659, allocations: 449.6 kB / 0.7739 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.1667, allocations: 398.4 kB / 0.7743 GB, free: 288 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.2819/0.4486, allocations: 0.92 MB / 0.7752 GB, free: 8.645 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000561/0.4492, allocations: 353.8 kB / 0.7756 GB, free: 8.629 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004433/0.4496, allocations: 342.2 kB / 0.7759 GB, free: 8.609 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004212/0.4501, allocations: 344.9 kB / 0.7762 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.94e-05/0.4501, allocations: 37.91 kB / 0.7762 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000677/0.4508, allocations: 404.3 kB / 0.7766 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001872/0.451, allocations: 184.2 kB / 0.7768 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.4513, allocations: 323.5 kB / 0.7771 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0009947/0.4523, allocations: 0.8913 MB / 0.778 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.4523, allocations: 1.844 kB / 0.778 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4523, allocations: 0 / 0.778 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.739e-06/0.4524, allocations: 1.094 kB / 0.778 GB, free: 8.266 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001233/0.4536, allocations: 0.9705 MB / 0.7789 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.4536, allocations: 9.625 kB / 0.7789 GB, free: 7.633 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.641e-05/0.4537, allocations: 92.66 kB / 0.779 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00125/0.455, allocations: 212.9 kB / 0.7792 GB, free: 7.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006759/0.4557, allocations: 0.5524 MB / 0.7798 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.781e-05/0.4557, allocations: 36.47 kB / 0.7798 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.763e-05/0.4558, allocations: 47.03 kB / 0.7799 GB, free: 7.262 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008975/0.4567, allocations: 0.8421 MB / 0.7807 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.4567, allocations: 14.25 kB / 0.7807 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.023e-05/0.4568, allocations: 22.88 kB / 0.7807 GB, free: 6.883 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.8e-05/0.4569, allocations: 66.55 kB / 0.7808 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/0.4577, allocations: 0.5676 MB / 0.7813 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003689/0.4614, allocations: 5.647 MB / 0.7868 GB, free: 18.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005811/0.4619, allocations: 452.2 kB / 0.7873 GB, free: 18.08 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002895/0.4622, allocations: 227.5 kB / 0.7875 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.4623, allocations: 8.562 kB / 0.7875 GB, free: 17.99 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.4623, allocations: 35.91 kB / 0.7875 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 2.114e-06/0.4623, allocations: 3.938 kB / 0.7875 GB, free: 17.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002397/0.4647, allocations: 1.516 MB / 0.789 GB, free: 17.02 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.4648, allocations: 56.16 kB / 0.7891 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.4653, allocations: 0.5033 MB / 0.7896 GB, free: 16.71 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.442e-05/0.4653, allocations: 31.2 kB / 0.7896 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.4655, allocations: 368.4 kB / 0.79 GB, free: 16.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.749e-05/0.4656, allocations: 126 kB / 0.7901 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.4657, allocations: 111.9 kB / 0.7902 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001714/0.4659, allocations: 371.6 kB / 0.7905 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002515/0.4661, allocations: 194.5 kB / 0.7907 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003122/0.4665, allocations: 447.7 kB / 0.7911 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005942/0.4671, allocations: 0.6999 MB / 0.7918 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.4671, allocations: 2.406 kB / 0.7918 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001104/0.4682, allocations: 0.8075 MB / 0.7926 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.4682, allocations: 8.906 kB / 0.7926 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.4682, allocations: 9.109 kB / 0.7926 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004523/0.4687, allocations: 155.2 kB / 0.7928 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000442/0.4691, allocations: 125.2 kB / 0.7929 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003514/0.4727, allocations: 4.345 MB / 0.7971 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.4731, allocations: 33.12 kB / 0.7972 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.4731, allocations: 30.44 kB / 0.7972 GB, free: 10.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0002658/0.4734, allocations: 222.6 kB / 0.7974 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.816e-05/0.4735, allocations: 67.73 kB / 0.7975 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009631/0.4744, allocations: 0.5883 MB / 0.7981 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.4745, allocations: 3.844 kB / 0.7981 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.4745, allocations: 4.5 kB / 0.7981 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.4745, allocations: 5.297 kB / 0.7981 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001764/0.4762, allocations: 1.261 MB / 0.7993 GB, free: 9.125 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4763, allocations: 5.938 kB / 0.7993 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.4765, allocations: 56.81 kB / 0.7994 GB, free: 9.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004114/0.477, allocations: 141.7 kB / 0.7995 GB, free: 9.055 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.477, allocations: 11.03 kB / 0.7995 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003838/0.4808, allocations: 4.347 MB / 0.8038 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.4809, allocations: 3.875 kB / 0.8038 GB, free: 4.77 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001036/0.4819, allocations: 0.7152 MB / 0.8045 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.4821, allocations: 171.9 kB / 0.8046 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.668e-05/0.4822, allocations: 8.156 kB / 0.8046 GB, free: 4.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002688/0.4825, allocations: 24.09 kB / 0.8046 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.4826, allocations: 31.77 kB / 0.8047 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.339e-05/0.4826, allocations: 13.53 kB / 0.8047 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0004113/0.483, allocations: 337.7 kB / 0.805 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.1e-07/0.483, allocations: 0 / 0.805 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00065/0.4837, allocations: 138.8 kB / 0.8051 GB, free: 4.016 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.001434/0.4851, allocations: 1.259 MB / 0.8064 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.4866, allocations: 1.042 MB / 0.8074 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.185e-06/0.4867, allocations: 128 / 0.8074 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/0.4876, allocations: 0.7395 MB / 0.8081 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/0.4887, allocations: 204.1 kB / 0.8083 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007143/0.4958, allocations: 5.173 MB / 0.8134 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.4964, allocations: 0.905 MB / 0.8142 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003638/0.4968, allocations: 121.7 kB / 0.8144 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002704/0.4971, allocations: 191.8 kB / 0.8145 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.4971, allocations: 0 / 0.8145 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04495/0.542, allocations: 12.89 MB / 0.8271 GB, free: 9.941 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.57/11.11, allocations: 14.27 kB / 0.8272 GB, free: 9.934 MB / 0.5919 GB (rm -f BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.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_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > BuildingSystems_BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)