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.004502/0.004502, allocations: 102.4 kB / 15.73 MB, free: 6.023 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.00108/0.00108, allocations: 195.5 kB / 16.67 MB, free: 5.938 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.25/1.25, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002033/0.002033, allocations: 289 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.901/0.901, allocations: 169.3 MB / 0.4983 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00178/0.00178, allocations: 91.84 kB / 0.681 GB, free: 7.461 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3783, allocations: 86.98 MB / 0.7659 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.005827/0.3841, allocations: 4.894 MB / 0.7707 GB, free: 14.9 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003577/0.3877, allocations: 2.483 MB / 0.7731 GB, free: 12.41 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000277/0.388, allocations: 23.81 kB / 0.7731 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001045/0.3891, allocations: 402 kB / 0.7735 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007882/0.3899, allocations: 473.6 kB / 0.774 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007141/0.3906, allocations: 389.2 kB / 0.7743 GB, free: 11.15 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007622/0.3914, allocations: 0.929 MB / 0.7752 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004432/0.3918, allocations: 362.9 kB / 0.7756 GB, free: 9.859 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003528/0.3922, allocations: 342.6 kB / 0.7759 GB, free: 9.523 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003519/0.3926, allocations: 350.4 kB / 0.7762 GB, free: 9.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.318e-05/0.3926, allocations: 40 kB / 0.7763 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000518/0.3931, allocations: 403.1 kB / 0.7767 GB, free: 8.746 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001574/0.3933, allocations: 179.5 kB / 0.7768 GB, free: 8.57 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002469/0.3936, allocations: 322.2 kB / 0.7771 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008153/0.3944, allocations: 0.8922 MB / 0.778 GB, free: 7.363 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3944, allocations: 4 kB / 0.778 GB, free: 7.359 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3944, allocations: 4 kB / 0.778 GB, free: 7.355 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.257e-06/0.3944, allocations: 0 / 0.778 GB, free: 7.355 MB / 0.545 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.001206/0.3956, allocations: 0.9726 MB / 0.779 GB, free: 6.332 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.565e-05/0.3957, allocations: 12.03 kB / 0.779 GB, free: 6.32 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.755e-05/0.3958, allocations: 94.69 kB / 0.7791 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/0.3969, allocations: 204.2 kB / 0.7793 GB, free: 6.02 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007293/0.3977, allocations: 0.5533 MB / 0.7798 GB, free: 5.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.3977, allocations: 29.38 kB / 0.7798 GB, free: 5.402 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.659e-05/0.3978, allocations: 52.36 kB / 0.7799 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009041/0.3987, allocations: 0.8524 MB / 0.7807 GB, free: 4.371 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.156e-05/0.3987, allocations: 11.88 kB / 0.7807 GB, free: 4.359 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.577e-05/0.3988, allocations: 23.98 kB / 0.7808 GB, free: 4.336 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.943e-05/0.3989, allocations: 68.95 kB / 0.7808 GB, free: 4.266 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/0.3996, allocations: 0.5656 MB / 0.7814 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003658/0.4033, allocations: 5.651 MB / 0.7869 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.4038, allocations: 450.3 kB / 0.7873 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002805/0.4041, allocations: 228.7 kB / 0.7875 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.4042, allocations: 7.984 kB / 0.7875 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.714e-05/0.4042, allocations: 34.56 kB / 0.7876 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=32): time 1.974e-06/0.4042, allocations: 4 kB / 0.7876 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.0022/0.4064, allocations: 1.507 MB / 0.7891 GB, free: 11.3 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.4065, allocations: 59.67 kB / 0.7891 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004326/0.4069, allocations: 0.5029 MB / 0.7896 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.4069, allocations: 29.7 kB / 0.7896 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.4071, allocations: 371.8 kB / 0.79 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.094e-05/0.4072, allocations: 123 kB / 0.7901 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.4073, allocations: 114.2 kB / 0.7902 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.4075, allocations: 362.8 kB / 0.7906 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.4077, allocations: 201.2 kB / 0.7908 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003826/0.4081, allocations: 447 kB / 0.7912 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006826/0.4088, allocations: 0.6843 MB / 0.7918 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.4088, allocations: 8 kB / 0.7919 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001106/0.4099, allocations: 0.8137 MB / 0.7926 GB, free: 7.316 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.41, allocations: 8 kB / 0.7927 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.41, allocations: 12.09 kB / 0.7927 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004367/0.4104, allocations: 152 kB / 0.7928 GB, free: 7.133 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.4108, allocations: 123.8 kB / 0.7929 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002817/0.4137, allocations: 4.344 MB / 0.7972 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003367/0.414, allocations: 35.97 kB / 0.7972 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.522e-05/0.4141, allocations: 31.98 kB / 0.7972 GB, free: 2.18 MB / 0.5606 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.0002171/0.4143, allocations: 223.8 kB / 0.7975 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.307e-05/0.4144, allocations: 67.64 kB / 0.7975 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009047/0.4153, allocations: 0.6009 MB / 0.7981 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.4153, allocations: 0 / 0.7981 GB, free: 1.262 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4153, allocations: 4 kB / 0.7981 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.4153, allocations: 3.984 kB / 0.7981 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001577/0.4169, allocations: 1.253 MB / 0.7993 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.4169, allocations: 4 kB / 0.7993 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002372/0.4172, allocations: 55.89 kB / 0.7994 GB, free: 15.85 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003677/0.4175, allocations: 148.3 kB / 0.7995 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.4176, allocations: 15.94 kB / 0.7995 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.4203, allocations: 4.34 MB / 0.8038 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4203, allocations: 8.188 kB / 0.8038 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008649/0.4212, allocations: 0.7123 MB / 0.8045 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002063/0.4214, allocations: 172.6 kB / 0.8047 GB, free: 9.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.4215, allocations: 8 kB / 0.8047 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.4217, allocations: 19.97 kB / 0.8047 GB, free: 9.922 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.4218, allocations: 35.91 kB / 0.8047 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.4218, allocations: 16 kB / 0.8047 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003048/0.4221, allocations: 338.8 kB / 0.8051 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4221, allocations: 0 / 0.8051 GB, free: 9.543 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005403/0.4227, allocations: 148 kB / 0.8052 GB, free: 9.398 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.001117/0.4238, allocations: 1.253 MB / 0.8064 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001236/0.4251, allocations: 1.04 MB / 0.8074 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.4251, allocations: 4 kB / 0.8074 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007454/0.4258, allocations: 0.7407 MB / 0.8082 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009323/0.4268, allocations: 217.1 kB / 0.8084 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/0.4322, allocations: 5.15 MB / 0.8134 GB, free: 408 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.4326, allocations: 0.9098 MB / 0.8143 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002851/0.4329, allocations: 121.3 kB / 0.8144 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.4331, allocations: 191.4 kB / 0.8146 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of SimCode: time 1.533e-06/0.4332, allocations: 0 / 0.8146 GB, free: 15.15 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03667/0.4698, allocations: 12.89 MB / 0.8272 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.396/9.866, allocations: 6.672 kB / 0.8272 GB, free: 2.566 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)