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.833/1.833, allocations: 292.6 MB / 307.5 MB, free: 5.18 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.001277/0.001277, allocations: 173.1 kB / 377.1 MB, free: 1.523 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.694/1.694, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.0009462/0.0009461, allocations: 89.64 kB / 0.751 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003349/0.0003352, allocations: 12 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3197, allocations: 116.3 MB / 0.9884 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8825/1.202, allocations: 159.4 MB / 1.144 GB, free: 19.48 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/1.203, allocations: 96.5 kB / 1.144 GB, free: 19.4 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03018/1.233, allocations: 12.25 MB / 1.156 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.808e-06/1.233, allocations: 4.938 kB / 1.156 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.226e-05/1.233, allocations: 11.92 kB / 1.156 GB, free: 10.82 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.000759/1.234, allocations: 474 kB / 1.157 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/1.234, allocations: 12.02 kB / 1.157 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006116/1.234, allocations: 69.7 kB / 1.157 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/1.235, allocations: 228.6 kB / 1.157 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/1.235, allocations: 11.98 kB / 1.157 GB, free: 9.965 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/1.235, allocations: 12 kB / 1.157 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004421/1.235, allocations: 285.9 kB / 1.157 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.73e-05/1.235, allocations: 1.219 kB / 1.157 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.749e-05/1.235, allocations: 7.984 kB / 1.157 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.853e-05/1.235, allocations: 16.23 kB / 1.157 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/1.236, allocations: 208.5 kB / 1.157 GB, free: 9.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001507/1.237, allocations: 1.583 MB / 1.159 GB, free: 7.695 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 9.556e-05/1.237, allocations: 73.12 kB / 1.159 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.995e-05/1.237, allocations: 0 / 1.159 GB, free: 7.605 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/1.237, allocations: 30.56 kB / 1.159 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 9.62e-07/1.237, allocations: 0 / 1.159 GB, free: 7.566 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0005628/1.238, allocations: 233.4 kB / 1.159 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/1.238, allocations: 81.11 kB / 1.159 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002075/1.238, allocations: 193.6 kB / 1.159 GB, free: 7.035 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/1.238, allocations: 25.7 kB / 1.16 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.177e-05/1.238, allocations: 172.5 kB / 1.16 GB, free: 6.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/1.238, allocations: 27.64 kB / 1.16 GB, free: 6.805 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.152e-05/1.238, allocations: 4 kB / 1.16 GB, free: 6.801 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.136e-05/1.238, allocations: 327 kB / 1.16 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.809e-05/1.239, allocations: 75.95 kB / 1.16 GB, free: 6.398 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001384/1.239, allocations: 155.1 kB / 1.16 GB, free: 6.207 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/1.239, allocations: 103.9 kB / 1.16 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/1.239, allocations: 0 / 1.16 GB, free: 6.105 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0003437/1.239, allocations: 281.1 kB / 1.161 GB, free: 5.824 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002939/1.24, allocations: 1.143 MB / 1.162 GB, free: 4.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/1.24, allocations: 4 kB / 1.162 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.329e-05/1.24, allocations: 4 kB / 1.162 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002354/1.24, allocations: 58.47 kB / 1.162 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/1.24, allocations: 4 kB / 1.162 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002002/1.24, allocations: 19.97 kB / 1.162 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/1.24, allocations: 12 kB / 1.162 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 7.254e-06/1.24, allocations: 4 kB / 1.162 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002583/1.24, allocations: 223.5 kB / 1.162 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/1.24, allocations: 4 kB / 1.162 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.087e-06/1.24, allocations: 4 kB / 1.162 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/1.241, allocations: 47.91 kB / 1.162 GB, free: 4.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/1.241, allocations: 4.703 kB / 1.162 GB, free: 4.215 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000131/1.241, allocations: 20.3 kB / 1.162 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/1.241, allocations: 13.62 kB / 1.162 GB, free: 4.184 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.0001303/1.241, allocations: 221 kB / 1.162 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.048e-05/1.241, allocations: 15.81 kB / 1.162 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/1.241, allocations: 120.3 kB / 1.162 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.241, allocations: 0 / 1.162 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/1.241, allocations: 4 kB / 1.162 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/1.241, allocations: 0 / 1.162 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006567/1.242, allocations: 0.6235 MB / 1.163 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/1.242, allocations: 4 kB / 1.163 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.78e-05/1.242, allocations: 15.98 kB / 1.163 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/1.242, allocations: 8.031 kB / 1.163 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/1.242, allocations: 13.02 kB / 1.163 GB, free: 3.078 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.242, allocations: 4 kB / 1.163 GB, free: 3.074 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.242, allocations: 3.938 kB / 1.163 GB, free: 3.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002277/1.242, allocations: 404.6 kB / 1.164 GB, free: 2.598 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.526e-05/1.242, allocations: 116.8 kB / 1.164 GB, free: 2.465 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/1.242, allocations: 4 kB / 1.164 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/1.242, allocations: 13.11 kB / 1.164 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/1.242, allocations: 15.92 kB / 1.164 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.7e-06/1.243, allocations: 7.938 kB / 1.164 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001266/1.243, allocations: 166.7 kB / 1.164 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.243, allocations: 0 / 1.164 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005067/1.243, allocations: 80.56 kB / 1.164 GB, free: 2.184 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.0001733/1.243, allocations: 127.2 kB / 1.164 GB, free: 2.051 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000359/1.244, allocations: 268.7 kB / 1.164 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/1.244, allocations: 384 / 1.164 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.902e-05/1.244, allocations: 47.86 kB / 1.164 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/1.244, allocations: 32.25 kB / 1.164 GB, free: 1.715 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007578/1.245, allocations: 472.4 kB / 1.165 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/1.245, allocations: 0.7401 MB / 1.166 GB, free: 452 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001996/1.245, allocations: 70.02 kB / 1.166 GB, free: 384 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.453e-05/1.245, allocations: 23.38 kB / 1.166 GB, free: 360 kB / 0.7292 GB Notification: Performance of SimCode: time 3.6e-07/1.245, allocations: 0 / 1.166 GB, free: 360 kB / 0.7292 GB Notification: Performance of Templates: time 0.005358/1.251, allocations: 1.542 MB / 1.167 GB, free: 14.83 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)