Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.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.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,fileNamePrefix="Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_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.79/1.79, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001269/0.001269, allocations: 181.5 kB / 371.6 MB, free: 3.363 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.883/1.883, allocations: 205.2 MB / 0.6309 GB, free: 11.73 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.000997/0.0009971, allocations: 90.55 kB / 0.745 GB, free: 54.48 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.69e-05/4.712e-05, allocations: 4 kB / 0.8663 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3089, allocations: 116.3 MB / 0.9799 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9501/1.259, allocations: 168.5 MB / 1.144 GB, free: 23.41 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003683/1.26, allocations: 97.47 kB / 1.145 GB, free: 23.37 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.2116/1.471, allocations: 85.94 MB / 1.228 GB, free: 3.906 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.445e-06/1.471, allocations: 3.938 kB / 1.228 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0001698/1.471, allocations: 59.98 kB / 1.229 GB, free: 3.844 MB / 0.7917 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.007158/1.479, allocations: 2.115 MB / 1.231 GB, free: 1.676 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/1.479, allocations: 8.031 kB / 1.231 GB, free: 1.668 MB / 0.7917 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001245/1.48, allocations: 376 kB / 1.231 GB, free: 1.293 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004951/1.485, allocations: 0.754 MB / 1.232 GB, free: 0.5352 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004128/1.489, allocations: 1.535 MB / 1.233 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001685/1.489, allocations: 180.7 kB / 1.233 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007692/1.49, allocations: 231.9 kB / 1.234 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008089/1.498, allocations: 3.817 MB / 1.237 GB, free: 10.55 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.294e-05/1.498, allocations: 11.88 kB / 1.237 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000302/1.498, allocations: 103.9 kB / 1.237 GB, free: 10.44 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000202/1.499, allocations: 152.6 kB / 1.238 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006086/1.505, allocations: 3.188 MB / 1.241 GB, free: 7.082 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02331/1.528, allocations: 16.48 MB / 1.257 GB, free: 5.172 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003367/1.532, allocations: 2.099 MB / 1.259 GB, free: 2.898 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009179/1.532, allocations: 0.5966 MB / 1.259 GB, free: 2.297 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001714/1.533, allocations: 97.59 kB / 1.26 GB, free: 2.184 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.829e-05/1.533, allocations: 47.12 kB / 1.26 GB, free: 2.129 MB / 0.823 GB Notification: Performance of pre-optimization done (n=72): time 6.312e-06/1.533, allocations: 3.984 kB / 1.26 GB, free: 2.125 MB / 0.823 GB Notification: Performance of matching and sorting (n=76): time 0.004724/1.537, allocations: 2.574 MB / 1.262 GB, free: 15.52 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.405e-05/1.538, allocations: 115.5 kB / 1.262 GB, free: 15.38 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001422/1.539, allocations: 0.9001 MB / 1.263 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.173e-05/1.539, allocations: 41.7 kB / 1.263 GB, free: 14.41 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008204/1.54, allocations: 1.087 MB / 1.264 GB, free: 13.3 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/1.54, allocations: 276.2 kB / 1.264 GB, free: 13.03 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.689e-05/1.54, allocations: 31.94 kB / 1.264 GB, free: 13 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002561/1.541, allocations: 414.7 kB / 1.265 GB, free: 12.59 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009278/1.542, allocations: 0.5856 MB / 1.265 GB, free: 12 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001346/1.543, allocations: 1.127 MB / 1.267 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001207/1.544, allocations: 0.8255 MB / 1.267 GB, free: 9.793 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.939e-06/1.544, allocations: 4 kB / 1.267 GB, free: 9.789 MB / 0.8386 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.00342/1.548, allocations: 1.943 MB / 1.269 GB, free: 7.828 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/1.548, allocations: 13.56 kB / 1.269 GB, free: 7.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.561e-05/1.548, allocations: 16 kB / 1.269 GB, free: 7.801 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004486/1.548, allocations: 163.3 kB / 1.269 GB, free: 7.629 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001227/1.549, allocations: 343.6 kB / 1.27 GB, free: 7.293 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-05/1.549, allocations: 39.86 kB / 1.27 GB, free: 7.254 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/1.551, allocations: 135.6 kB / 1.27 GB, free: 7.121 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/1.551, allocations: 71.98 kB / 1.27 GB, free: 7.051 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 82 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 161 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002848/1.551, allocations: 196.4 kB / 1.27 GB, free: 6.852 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002373/1.551, allocations: 102.8 kB / 1.27 GB, free: 6.75 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002378/1.554, allocations: 1.193 MB / 1.271 GB, free: 5.531 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-05/1.554, allocations: 12 kB / 1.271 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/1.554, allocations: 0 / 1.271 GB, free: 5.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.357e-05/1.554, allocations: 7.984 kB / 1.271 GB, free: 5.512 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007073/1.561, allocations: 3.769 MB / 1.275 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/1.561, allocations: 4 kB / 1.275 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006545/1.562, allocations: 168 kB / 1.275 GB, free: 1.426 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003932/1.562, allocations: 135.3 kB / 1.275 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.073e-05/1.562, allocations: 16 kB / 1.275 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.779e-06/1.562, allocations: 4 kB / 1.275 GB, free: 1.262 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.247e-06/1.562, allocations: 7.984 kB / 1.275 GB, free: 1.254 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002377/1.564, allocations: 1.553 MB / 1.277 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007376/1.565, allocations: 291.7 kB / 1.277 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/1.565, allocations: 19.95 kB / 1.277 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006314/1.566, allocations: 75.89 kB / 1.277 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.566, allocations: 56.42 kB / 1.277 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.252e-05/1.566, allocations: 28 kB / 1.277 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001174/1.567, allocations: 0.6799 MB / 1.278 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.41e-07/1.567, allocations: 0 / 1.278 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002071/1.569, allocations: 420.1 kB / 1.278 GB, free: 14 MB / 0.8542 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 () * 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 (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003388/1.573, allocations: 2.811 MB / 1.281 GB, free: 11.09 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.002828/1.576, allocations: 1.657 MB / 1.283 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/1.576, allocations: 0 / 1.283 GB, free: 9.34 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/1.577, allocations: 0.844 MB / 1.284 GB, free: 8.414 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001285/1.578, allocations: 240.9 kB / 1.284 GB, free: 8.18 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007813/1.586, allocations: 3.671 MB / 1.287 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001969/1.588, allocations: 1.96 MB / 1.289 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.001232/1.589, allocations: 433.3 kB / 1.29 GB, free: 2.008 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001036/1.59, allocations: 0.7219 MB / 1.291 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of SimCode: time 1.512e-06/1.59, allocations: 0 / 1.291 GB, free: 1.285 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05798/1.648, allocations: 27.55 MB / 1.317 GB, free: 5.992 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002336/1.649, allocations: 187.8 kB / 1.318 GB, free: 5.773 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/4.352, allocations: 2.953 kB / 1.318 GB, free: 5.773 MB / 0.8855 GB (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.fmu > Buildings_8_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1)