Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.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: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.637/1.637, allocations: 289.7 MB / 302.3 MB, free: 2.191 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.001112/0.001112, allocations: 182.5 kB / 371.6 MB, free: 3.387 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.749/1.749, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009094/0.0009094, allocations: 96.23 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.205e-05/4.208e-05, allocations: 4 kB / 0.8662 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2822, allocations: 116.3 MB / 0.9798 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7461/1.028, allocations: 159.3 MB / 1.135 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/1.029, allocations: 99.53 kB / 1.135 GB, free: 30.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02733/1.056, allocations: 12.16 MB / 1.147 GB, free: 23.82 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.894e-06/1.056, allocations: 0 / 1.147 GB, free: 23.82 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.42e-05/1.056, allocations: 7.984 kB / 1.147 GB, free: 23.82 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000493/1.057, allocations: 456.8 kB / 1.148 GB, free: 23.36 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/1.057, allocations: 8.875 kB / 1.148 GB, free: 23.36 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005646/1.057, allocations: 68.94 kB / 1.148 GB, free: 23.31 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/1.057, allocations: 222.9 kB / 1.148 GB, free: 23.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/1.057, allocations: 15.86 kB / 1.148 GB, free: 23.06 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/1.057, allocations: 18.7 kB / 1.148 GB, free: 23.05 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003744/1.058, allocations: 267.6 kB / 1.148 GB, free: 22.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/1.058, allocations: 8.5 kB / 1.148 GB, free: 22.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.403e-05/1.058, allocations: 11.05 kB / 1.148 GB, free: 22.83 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.102e-05/1.058, allocations: 16.08 kB / 1.148 GB, free: 22.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/1.058, allocations: 202.8 kB / 1.149 GB, free: 22.7 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001366/1.06, allocations: 1.583 MB / 1.15 GB, free: 21.24 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.721e-05/1.06, allocations: 70.45 kB / 1.15 GB, free: 21.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.867e-05/1.06, allocations: 43.55 kB / 1.15 GB, free: 21.13 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.226e-05/1.06, allocations: 4 kB / 1.15 GB, free: 21.13 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.779e-05/1.06, allocations: 38.52 kB / 1.15 GB, free: 21.09 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.653e-06/1.06, allocations: 3.984 kB / 1.15 GB, free: 21.08 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0003917/1.06, allocations: 185.1 kB / 1.15 GB, free: 20.93 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/1.06, allocations: 81.05 kB / 1.151 GB, free: 20.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/1.06, allocations: 202 kB / 1.151 GB, free: 20.67 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/1.06, allocations: 28.89 kB / 1.151 GB, free: 20.64 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/1.061, allocations: 171.9 kB / 1.151 GB, free: 20.49 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/1.061, allocations: 29.36 kB / 1.151 GB, free: 20.47 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.049e-05/1.061, allocations: 2.75 kB / 1.151 GB, free: 20.47 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 5.118e-05/1.061, allocations: 326.8 kB / 1.151 GB, free: 20.15 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.933e-05/1.061, allocations: 68.64 kB / 1.151 GB, free: 20.11 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001328/1.061, allocations: 164.9 kB / 1.151 GB, free: 19.96 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/1.061, allocations: 103.6 kB / 1.152 GB, free: 19.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/1.061, allocations: 0 / 1.152 GB, free: 19.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003519/1.061, allocations: 269.6 kB / 1.152 GB, free: 19.71 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002034/1.062, allocations: 1.135 MB / 1.153 GB, free: 18.52 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/1.062, allocations: 4.562 kB / 1.153 GB, free: 18.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/1.062, allocations: 4 kB / 1.153 GB, free: 18.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002286/1.062, allocations: 61.83 kB / 1.153 GB, free: 18.46 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/1.062, allocations: 4.703 kB / 1.153 GB, free: 18.46 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001952/1.062, allocations: 24.11 kB / 1.153 GB, free: 18.44 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.111e-05/1.062, allocations: 13.77 kB / 1.153 GB, free: 18.43 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/1.062, allocations: 4 kB / 1.153 GB, free: 18.43 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003149/1.062, allocations: 215.6 kB / 1.153 GB, free: 18.29 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.486e-06/1.062, allocations: 4 kB / 1.153 GB, free: 18.29 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/1.062, allocations: 4.703 kB / 1.153 GB, free: 18.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/1.063, allocations: 50.64 kB / 1.153 GB, free: 18.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/1.063, allocations: 5.281 kB / 1.153 GB, free: 18.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/1.063, allocations: 16.92 kB / 1.153 GB, free: 18.23 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/1.063, allocations: 12.8 kB / 1.153 GB, free: 18.22 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.555e-05/1.063, allocations: 121.5 kB / 1.153 GB, free: 18.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.085e-05/1.063, allocations: 16.8 kB / 1.153 GB, free: 18.09 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001808/1.063, allocations: 112.6 kB / 1.154 GB, free: 18.02 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/1.063, allocations: 4 kB / 1.154 GB, free: 18.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/1.063, allocations: 0 / 1.154 GB, free: 18.02 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/1.063, allocations: 0.6094 kB / 1.154 GB, free: 18.02 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006197/1.064, allocations: 0.6279 MB / 1.154 GB, free: 17.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.064, allocations: 0 / 1.154 GB, free: 17.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.384e-05/1.064, allocations: 16.39 kB / 1.154 GB, free: 17.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.064, allocations: 4 kB / 1.154 GB, free: 17.43 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.064, allocations: 8.656 kB / 1.154 GB, free: 17.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.064, allocations: 0.8438 kB / 1.154 GB, free: 17.42 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.064, allocations: 10.56 kB / 1.154 GB, free: 17.41 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002122/1.064, allocations: 420.6 kB / 1.155 GB, free: 16.97 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/1.064, allocations: 109.2 kB / 1.155 GB, free: 16.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.931e-05/1.064, allocations: 5.359 kB / 1.155 GB, free: 16.85 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/1.064, allocations: 12.11 kB / 1.155 GB, free: 16.85 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.158e-05/1.064, allocations: 13.86 kB / 1.155 GB, free: 16.84 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-06/1.064, allocations: 4.938 kB / 1.155 GB, free: 16.83 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001236/1.065, allocations: 168.7 kB / 1.155 GB, free: 16.7 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.065, allocations: 0 / 1.155 GB, free: 16.7 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004757/1.065, allocations: 84.2 kB / 1.155 GB, free: 16.63 MB / 0.7448 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001548/1.065, allocations: 121.4 kB / 1.155 GB, free: 16.5 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000354/1.066, allocations: 265.2 kB / 1.155 GB, free: 16.33 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/1.066, allocations: 0 / 1.155 GB, free: 16.33 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.416e-05/1.066, allocations: 49.22 kB / 1.155 GB, free: 16.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/1.066, allocations: 31.27 kB / 1.155 GB, free: 16.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004637/1.066, allocations: 264.7 kB / 1.156 GB, free: 16.04 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000193/1.067, allocations: 0.7452 MB / 1.156 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002209/1.067, allocations: 71.06 kB / 1.157 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.917e-05/1.067, allocations: 16.09 kB / 1.157 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/1.067, allocations: 3.938 kB / 1.157 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of Templates: time 0.004585/1.072, allocations: 1.685 MB / 1.158 GB, free: 14.29 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)