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.004376/0.004376, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001229/0.001229, allocations: 190.1 kB / 16.67 MB, free: 5.875 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002533/0.002533, allocations: 294.5 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 1.18/1.18, allocations: 178.5 MB / 0.5074 GB, free: 12.63 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002765/0.002765, allocations: 87.86 kB / 0.6943 GB, free: 15.22 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3736, allocations: 89.13 MB / 0.7813 GB, free: 1.168 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances): time 0.00606/0.3797, allocations: 4.895 MB / 0.7861 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004207/0.3839, allocations: 2.482 MB / 0.7885 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003089/0.3842, allocations: 24.91 kB / 0.7886 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.3854, allocations: 407.1 kB / 0.7889 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001024/0.3864, allocations: 444.9 kB / 0.7894 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.3874, allocations: 404.6 kB / 0.7898 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001005/0.3884, allocations: 0.9184 MB / 0.7907 GB, free: 9.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005176/0.3889, allocations: 357.7 kB / 0.791 GB, free: 9.637 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.3894, allocations: 334.2 kB / 0.7913 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004632/0.3898, allocations: 354.7 kB / 0.7916 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.446e-05/0.3899, allocations: 37.88 kB / 0.7917 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006965/0.3906, allocations: 404.1 kB / 0.7921 GB, free: 9.043 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002001/0.3908, allocations: 183.2 kB / 0.7922 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003362/0.3912, allocations: 319.2 kB / 0.7925 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.3922, allocations: 0.8986 MB / 0.7934 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3923, allocations: 4 kB / 0.7934 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3923, allocations: 1.125 kB / 0.7934 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.638e-06/0.3923, allocations: 0 / 0.7934 GB, free: 8.113 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.001437/0.3937, allocations: 0.9696 MB / 0.7944 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.3938, allocations: 10.12 kB / 0.7944 GB, free: 7.312 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001022/0.3939, allocations: 93.02 kB / 0.7945 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001251/0.3951, allocations: 213.3 kB / 0.7947 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008272/0.396, allocations: 0.548 MB / 0.7952 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.902e-05/0.396, allocations: 35.58 kB / 0.7952 GB, free: 6.66 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.153e-05/0.3961, allocations: 45.02 kB / 0.7953 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001168/0.3973, allocations: 0.8483 MB / 0.7961 GB, free: 5.949 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.7e-05/0.3973, allocations: 11.33 kB / 0.7961 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.947e-05/0.3974, allocations: 19.81 kB / 0.7961 GB, free: 5.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.246e-05/0.3975, allocations: 70.2 kB / 0.7962 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008456/0.3983, allocations: 0.5688 MB / 0.7968 GB, free: 5.621 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004819/0.4032, allocations: 5.649 MB / 0.8023 GB, free: 180 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006633/0.4038, allocations: 465.8 kB / 0.8027 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.4042, allocations: 232 kB / 0.803 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.4042, allocations: 4.656 kB / 0.803 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4042, allocations: 31.94 kB / 0.803 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.4042, allocations: 0 / 0.803 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=33): time 0.002674/0.4069, allocations: 1.527 MB / 0.8045 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.773e-05/0.407, allocations: 55.12 kB / 0.8045 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005575/0.4075, allocations: 0.5018 MB / 0.805 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.31e-05/0.4076, allocations: 31.3 kB / 0.8051 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/0.4079, allocations: 360 kB / 0.8054 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001099/0.408, allocations: 127.4 kB / 0.8055 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.4082, allocations: 111.4 kB / 0.8056 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001879/0.4084, allocations: 364.4 kB / 0.806 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002987/0.4087, allocations: 202.2 kB / 0.8062 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005053/0.4092, allocations: 448.2 kB / 0.8066 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008676/0.4101, allocations: 0.6846 MB / 0.8073 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.4101, allocations: 2.625 kB / 0.8073 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001318/0.4114, allocations: 0.8175 MB / 0.8081 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.4114, allocations: 7.656 kB / 0.8081 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.4114, allocations: 9.938 kB / 0.8081 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005061/0.412, allocations: 157.4 kB / 0.8082 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004371/0.4124, allocations: 121.8 kB / 0.8083 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00372/0.4161, allocations: 4.347 MB / 0.8126 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.4165, allocations: 40.06 kB / 0.8126 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.555e-05/0.4166, allocations: 32 kB / 0.8127 GB, free: 7.156 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.0002627/0.4169, allocations: 217.4 kB / 0.8129 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.567e-05/0.417, allocations: 63.62 kB / 0.8129 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.4181, allocations: 0.6048 MB / 0.8135 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.4181, allocations: 4 kB / 0.8135 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4181, allocations: 4 kB / 0.8135 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4181, allocations: 0 / 0.8135 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001909/0.42, allocations: 1.261 MB / 0.8148 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.611e-06/0.42, allocations: 4 kB / 0.8148 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002698/0.4203, allocations: 55.95 kB / 0.8148 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004191/0.4207, allocations: 140.3 kB / 0.8149 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.96e-05/0.4208, allocations: 15.94 kB / 0.815 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003612/0.4244, allocations: 4.341 MB / 0.8192 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.4244, allocations: 0 / 0.8192 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.4255, allocations: 0.7119 MB / 0.8199 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002051/0.4257, allocations: 168.6 kB / 0.8201 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.682e-05/0.4258, allocations: 8 kB / 0.8201 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.426, allocations: 27.97 kB / 0.8201 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.751e-05/0.4261, allocations: 31.89 kB / 0.8201 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.163e-05/0.4261, allocations: 12 kB / 0.8201 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003886/0.4265, allocations: 342.8 kB / 0.8205 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.21e-07/0.4266, allocations: 4 kB / 0.8205 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006084/0.4272, allocations: 140 kB / 0.8206 GB, free: 14.4 MB / 0.5919 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.001398/0.4286, allocations: 1.261 MB / 0.8218 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001494/0.4301, allocations: 1.048 MB / 0.8229 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.4301, allocations: 0 / 0.8229 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0009094/0.431, allocations: 0.7346 MB / 0.8236 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009968/0.432, allocations: 212.4 kB / 0.8238 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006807/0.4388, allocations: 5.158 MB / 0.8288 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.4394, allocations: 0.9098 MB / 0.8297 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003274/0.4398, allocations: 125.3 kB / 0.8298 GB, free: 4.328 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.4401, allocations: 195.3 kB / 0.83 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.4401, allocations: 0 / 0.83 GB, free: 4.141 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04707/0.4871, allocations: 12.87 MB / 0.8426 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.27/10.76, allocations: 12.2 kB / 0.8426 GB, free: 7.562 MB / 0.6075 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)