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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.656/1.656, allocations: 293 MB / 309 MB, free: 4.785 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.0009822/0.0009822, allocations: 172.6 kB / 378.7 MB, free: 1.016 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.564/1.564, allocations: 205.4 MB / 0.6383 GB, free: 9.172 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.0008337/0.0008338, allocations: 91.02 kB / 0.7527 GB, free: 62.31 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004011/0.0004011, allocations: 20 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3385, allocations: 116.4 MB / 0.9904 GB, free: 6.02 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.867/1.206, allocations: 159.5 MB / 1.146 GB, free: 18.66 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003346/1.206, allocations: 102.2 kB / 1.146 GB, free: 18.58 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.0296/1.236, allocations: 12.28 MB / 1.158 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.985e-06/1.236, allocations: 0 / 1.158 GB, free: 9.789 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.745e-05/1.236, allocations: 4 kB / 1.158 GB, free: 9.785 MB / 0.7292 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.0006435/1.236, allocations: 472.8 kB / 1.159 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/1.236, allocations: 16.02 kB / 1.159 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005986/1.237, allocations: 64.59 kB / 1.159 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002641/1.237, allocations: 232 kB / 1.159 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.938e-05/1.237, allocations: 16.36 kB / 1.159 GB, free: 8.918 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.866e-05/1.237, allocations: 12.38 kB / 1.159 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004071/1.238, allocations: 283.7 kB / 1.159 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.946e-05/1.238, allocations: 0 / 1.159 GB, free: 8.594 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.793e-05/1.238, allocations: 11.98 kB / 1.159 GB, free: 8.582 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.159e-05/1.238, allocations: 16.16 kB / 1.159 GB, free: 8.566 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002959/1.238, allocations: 213.5 kB / 1.16 GB, free: 8.359 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001403/1.24, allocations: 1.58 MB / 1.161 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.389e-05/1.24, allocations: 77.12 kB / 1.161 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.21e-05/1.24, allocations: 45.81 kB / 1.161 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/1.24, allocations: 0 / 1.161 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.185e-05/1.24, allocations: 31.78 kB / 1.161 GB, free: 6.461 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 2.735e-06/1.24, allocations: 4 kB / 1.161 GB, free: 6.457 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005037/1.24, allocations: 226 kB / 1.161 GB, free: 6.23 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/1.24, allocations: 85.05 kB / 1.162 GB, free: 6.129 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001899/1.241, allocations: 218.3 kB / 1.162 GB, free: 5.902 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/1.241, allocations: 29.7 kB / 1.162 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.59e-05/1.241, allocations: 159.5 kB / 1.162 GB, free: 5.707 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.027e-05/1.241, allocations: 35.55 kB / 1.162 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.024e-05/1.241, allocations: 4 kB / 1.162 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.347e-05/1.241, allocations: 327 kB / 1.162 GB, free: 5.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.538e-05/1.241, allocations: 71.95 kB / 1.162 GB, free: 5.27 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/1.241, allocations: 159.1 kB / 1.162 GB, free: 5.074 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002206/1.241, allocations: 242.8 kB / 1.163 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/1.241, allocations: 3 kB / 1.163 GB, free: 4.797 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000338/1.242, allocations: 269.4 kB / 1.163 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.483e-05/1.242, allocations: 175.4 kB / 1.163 GB, free: 4.312 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.242, allocations: 4 kB / 1.163 GB, free: 4.309 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.659e-05/1.242, allocations: 4 kB / 1.163 GB, free: 4.305 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/1.242, allocations: 59.89 kB / 1.163 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/1.242, allocations: 4 kB / 1.163 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/1.242, allocations: 23.88 kB / 1.163 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.954e-05/1.242, allocations: 16 kB / 1.163 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/1.242, allocations: 4 kB / 1.163 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002616/1.242, allocations: 215.8 kB / 1.163 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/1.242, allocations: 4 kB / 1.163 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.099e-06/1.242, allocations: 7.984 kB / 1.163 GB, free: 3.977 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/1.243, allocations: 45.11 kB / 1.164 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/1.243, allocations: 8.531 kB / 1.164 GB, free: 3.926 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/1.243, allocations: 23.86 kB / 1.164 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.51e-05/1.243, allocations: 12 kB / 1.164 GB, free: 3.891 MB / 0.7292 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 () * Number of clocked 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 0.0001288/1.243, allocations: 217 kB / 1.164 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.544e-05/1.243, allocations: 15.81 kB / 1.164 GB, free: 3.652 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001744/1.243, allocations: 122.6 kB / 1.164 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/1.243, allocations: 4 kB / 1.164 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.243, allocations: 3.938 kB / 1.164 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/1.243, allocations: 0.9375 kB / 1.164 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005808/1.244, allocations: 0.6196 MB / 1.165 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/1.244, allocations: 4 kB / 1.165 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.819e-05/1.244, allocations: 12 kB / 1.165 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/1.244, allocations: 4 kB / 1.165 GB, free: 2.805 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/1.244, allocations: 11.98 kB / 1.165 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/1.244, allocations: 1.5 kB / 1.165 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/1.244, allocations: 7.938 kB / 1.165 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/1.244, allocations: 336.4 kB / 1.165 GB, free: 2.422 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.571e-05/1.244, allocations: 104.9 kB / 1.165 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/1.244, allocations: 7.938 kB / 1.165 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001619/1.244, allocations: 15.98 kB / 1.165 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/1.244, allocations: 11.92 kB / 1.165 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/1.244, allocations: 4 kB / 1.165 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001228/1.245, allocations: 174.7 kB / 1.165 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.51e-07/1.245, allocations: 0 / 1.165 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004869/1.245, allocations: 80 kB / 1.165 GB, free: 2.012 MB / 0.7292 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 (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.000164/1.245, allocations: 123.2 kB / 1.165 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000368/1.246, allocations: 264.8 kB / 1.166 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.246, allocations: 0 / 1.166 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.065e-05/1.246, allocations: 52.22 kB / 1.166 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004634/1.246, allocations: 28.92 kB / 1.166 GB, free: 1.547 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006795/1.247, allocations: 480 kB / 1.166 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/1.247, allocations: 0.7285 MB / 1.167 GB, free: 292 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002116/1.247, allocations: 70.34 kB / 1.167 GB, free: 224 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/1.247, allocations: 15.44 kB / 1.167 GB, free: 208 kB / 0.7292 GB Notification: Performance of SimCode: time 3.4e-07/1.247, allocations: 4 kB / 1.167 GB, free: 204 kB / 0.7292 GB Notification: Performance of Templates: time 0.004833/1.252, allocations: 1.56 MB / 1.168 GB, free: 14.66 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)