Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.634/1.634, allocations: 289.9 MB / 297.4 MB, free: 6.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001414/0.001414, allocations: 184.8 kB / 366.7 MB, free: 1.621 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.2 MB / 0.626 GB, free: 7.113 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001025/0.001026, allocations: 90.27 kB / 0.74 GB, free: 39.51 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.791e-05/1.794e-05, allocations: 4 kB / 0.8598 GB, free: 12.93 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7174/0.7174, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2153/0.9328, allocations: 154.6 MB / 1.124 GB, free: 11.51 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002728/0.9332, allocations: 95.88 kB / 1.124 GB, free: 11.42 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.07242/1.006, allocations: 29.62 MB / 1.153 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.184e-06/1.006, allocations: 0 / 1.153 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 6.665e-05/1.006, allocations: 23.92 kB / 1.153 GB, free: 13.62 MB / 0.7605 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.001857/1.008, allocations: 0.7829 MB / 1.154 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 6.364e-05/1.008, allocations: 8.031 kB / 1.154 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002156/1.01, allocations: 206.9 kB / 1.154 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/1.011, allocations: 498.4 kB / 1.155 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.08e-05/1.011, allocations: 18.62 kB / 1.155 GB, free: 12.04 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001112/1.011, allocations: 27.98 kB / 1.155 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00109/1.012, allocations: 418.5 kB / 1.155 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001653/1.014, allocations: 0.8593 MB / 1.156 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/1.014, allocations: 3.938 kB / 1.156 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/1.014, allocations: 8 kB / 1.156 GB, free: 10.55 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/1.014, allocations: 48.75 kB / 1.156 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006942/1.021, allocations: 5.543 MB / 1.162 GB, free: 4.582 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009739/1.022, allocations: 443.1 kB / 1.162 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004581/1.023, allocations: 213.3 kB / 1.162 GB, free: 3.93 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 4.518e-05/1.023, allocations: 4 kB / 1.162 GB, free: 3.926 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.796e-05/1.023, allocations: 40.98 kB / 1.162 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=32): time 4.208e-06/1.023, allocations: 0 / 1.162 GB, free: 3.879 MB / 0.7605 GB Notification: Performance of matching and sorting (n=33): time 0.002439/1.025, allocations: 0.805 MB / 1.163 GB, free: 3.051 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.07e-05/1.025, allocations: 55.41 kB / 1.163 GB, free: 2.984 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005826/1.026, allocations: 362 kB / 1.163 GB, free: 2.625 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.85e-05/1.026, allocations: 25.7 kB / 1.163 GB, free: 2.594 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003693/1.026, allocations: 347.5 kB / 1.164 GB, free: 2.246 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/1.027, allocations: 110.4 kB / 1.164 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-05/1.027, allocations: 0 / 1.164 GB, free: 2.137 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002513/1.027, allocations: 362.7 kB / 1.164 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004303/1.027, allocations: 177.1 kB / 1.164 GB, free: 1.598 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006782/1.028, allocations: 388.7 kB / 1.165 GB, free: 1.117 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005457/1.029, allocations: 243.9 kB / 1.165 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.706e-06/1.029, allocations: 4 kB / 1.165 GB, free: 0.875 MB / 0.7605 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001827/1.03, allocations: 0.684 MB / 1.166 GB, free: 172 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.327e-05/1.03, allocations: 9.875 kB / 1.166 GB, free: 164 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/1.031, allocations: 8 kB / 1.166 GB, free: 156 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008931/1.031, allocations: 156.1 kB / 1.166 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007269/1.032, allocations: 115.7 kB / 1.166 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004638/1.037, allocations: 3.882 MB / 1.17 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006816/1.038, allocations: 26.28 kB / 1.17 GB, free: 11.62 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.495e-05/1.038, allocations: 24 kB / 1.17 GB, free: 11.6 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002126/1.038, allocations: 132.8 kB / 1.17 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001464/1.039, allocations: 0.5164 MB / 1.17 GB, free: 10.92 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001323/1.039, allocations: 55.34 kB / 1.17 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/1.041, allocations: 0.566 MB / 1.171 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.852e-06/1.041, allocations: 10.25 kB / 1.171 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/1.041, allocations: 0 / 1.171 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.993e-06/1.041, allocations: 0 / 1.171 GB, free: 10.27 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002753/1.044, allocations: 1.158 MB / 1.172 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.044, allocations: 0 / 1.172 GB, free: 9.035 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004203/1.044, allocations: 55.89 kB / 1.172 GB, free: 8.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000666/1.045, allocations: 140.4 kB / 1.172 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/1.045, allocations: 0 / 1.172 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004427/1.049, allocations: 3.867 MB / 1.176 GB, free: 4.621 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/1.049, allocations: 4 kB / 1.176 GB, free: 4.617 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001629/1.051, allocations: 0.7468 MB / 1.177 GB, free: 3.773 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000307/1.051, allocations: 164.4 kB / 1.177 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.32e-05/1.052, allocations: 8 kB / 1.177 GB, free: 3.586 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/1.052, allocations: 19.97 kB / 1.177 GB, free: 3.566 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/1.052, allocations: 31.91 kB / 1.177 GB, free: 3.535 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.63e-05/1.052, allocations: 8 kB / 1.177 GB, free: 3.527 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0004625/1.053, allocations: 267 kB / 1.177 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.7e-07/1.053, allocations: 0 / 1.177 GB, free: 3.27 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001093/1.054, allocations: 120 kB / 1.177 GB, free: 3.152 MB / 0.7761 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 () * 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 (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002326/1.056, allocations: 1.789 MB / 1.179 GB, free: 1.27 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002018/1.058, allocations: 0.9675 MB / 1.18 GB, free: 236 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/1.058, allocations: 0 / 1.18 GB, free: 236 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001317/1.059, allocations: 0.7047 MB / 1.181 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001407/1.061, allocations: 176.3 kB / 1.181 GB, free: 15.29 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002802/1.064, allocations: 0.8383 MB / 1.182 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008029/1.065, allocations: 0.9295 MB / 1.183 GB, free: 13.44 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.000488/1.065, allocations: 107.2 kB / 1.183 GB, free: 13.33 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002774/1.065, allocations: 195.4 kB / 1.183 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of SimCode: time 5.11e-07/1.065, allocations: 0 / 1.183 GB, free: 13.14 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0386/1.104, allocations: 10.75 MB / 1.194 GB, free: 2.605 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/1.104, allocations: 171.3 kB / 1.194 GB, free: 2.402 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.293/3.397, allocations: 0 / 1.194 GB, free: 2.402 MB / 0.7917 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.Impedances.pipe 2>&1)