Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.9264/0.9264, allocations: 132.4 MB / 139.9 MB, free: 2.824 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001591/0.00159, allocations: 171.6 kB / 171.8 MB, free: 4.957 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.4/1.4, allocations: 170.6 MB / 374.2 MB, free: 172 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00167/0.00167, allocations: 103.5 kB / 444.8 MB, free: 14.17 MB / 314.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1759/0.1759, allocations: 73.41 MB / 0.6666 GB, free: 15.64 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6935/0.8695, allocations: 137.7 MB / 0.801 GB, free: 9.93 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/0.8699, allocations: 95.94 kB / 0.8011 GB, free: 9.836 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2248/1.095, allocations: 94.32 MB / 0.8932 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.825e-06/1.095, allocations: 0 / 0.8932 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 0.0001354/1.095, allocations: 60 kB / 0.8933 GB, free: 10.36 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 683 * Number of variables: 683 Notification: Performance of Generate backend data structure: time 0.007113/1.102, allocations: 2.168 MB / 0.8954 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.351e-05/1.102, allocations: 11.97 kB / 0.8954 GB, free: 8.129 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005177/1.107, allocations: 0.7306 MB / 0.8961 GB, free: 7.395 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004108/1.112, allocations: 1.449 MB / 0.8976 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000132/1.112, allocations: 87.95 kB / 0.8976 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006817/1.112, allocations: 144 kB / 0.8978 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006602/1.119, allocations: 2.947 MB / 0.9007 GB, free: 2.719 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4885/1.608, allocations: 3.762 MB / 0.9043 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001126/1.608, allocations: 10.83 kB / 0.9043 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000287/1.608, allocations: 5.531 kB / 0.9044 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003528/1.608, allocations: 158.6 kB / 0.9045 GB, free: 146.1 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0253/1.634, allocations: 15.12 MB / 0.9193 GB, free: 139.9 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009257/1.635, allocations: 0.5121 MB / 0.9198 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008264/1.636, allocations: 494.3 kB / 0.9202 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/1.636, allocations: 7.281 kB / 0.9202 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.554e-05/1.636, allocations: 51.03 kB / 0.9203 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=50): time 3.397e-06/1.636, allocations: 0 / 0.9203 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=56): time 0.006193/1.642, allocations: 3.581 MB / 0.9238 GB, free: 137.6 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.305e-05/1.642, allocations: 245.1 kB / 0.924 GB, free: 137.3 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/1.644, allocations: 1.109 MB / 0.9251 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.123e-05/1.644, allocations: 26.8 kB / 0.9251 GB, free: 137.1 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/1.645, allocations: 1.214 MB / 0.9263 GB, free: 136.4 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/1.645, allocations: 204.9 kB / 0.9265 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.155e-05/1.645, allocations: 0 / 0.9265 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002258/1.646, allocations: 409.5 kB / 0.9269 GB, free: 136 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/1.647, allocations: 0.7436 MB / 0.9276 GB, free: 136 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001826/1.649, allocations: 1.434 MB / 0.929 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002137/1.651, allocations: 1.127 MB / 0.9301 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-05/1.651, allocations: 6.688 kB / 0.9301 GB, free: 135.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=192) (initialization): time 0.004105/1.655, allocations: 2.229 MB / 0.9323 GB, free: 135 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.002673/1.658, allocations: 9.399 MB / 0.9415 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.075e-05/1.658, allocations: 23.38 kB / 0.9415 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.512e-05/1.658, allocations: 37.12 kB / 0.9416 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001722/1.66, allocations: 450.1 kB / 0.942 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.862e-05/1.66, allocations: 49.61 kB / 0.942 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/1.662, allocations: 253.6 kB / 0.9423 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001653/1.662, allocations: 85.09 kB / 0.9424 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.662, allocations: 4.125 kB / 0.9424 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003478/1.665, allocations: 1.874 MB / 0.9442 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.133e-05/1.665, allocations: 24.44 kB / 0.9442 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.286e-05/1.665, allocations: 39.59 kB / 0.9442 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/1.667, allocations: 411 kB / 0.9446 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.005e-05/1.667, allocations: 51.33 kB / 0.9447 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/1.668, allocations: 151.5 kB / 0.9448 GB, free: 125.2 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/1.668, allocations: 81.28 kB / 0.9449 GB, free: 125.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 108 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (192): * Single equations (assignments): 192 * 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.0003498/1.669, allocations: 171.2 kB / 0.9451 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/1.669, allocations: 97.5 kB / 0.9452 GB, free: 125 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001328/1.67, allocations: 0.8293 MB / 0.946 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.485e-05/1.67, allocations: 7.25 kB / 0.946 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.17e-05/1.67, allocations: 4.062 kB / 0.946 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/1.67, allocations: 5.766 kB / 0.946 GB, free: 124.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/1.681, allocations: 7.428 MB / 0.9532 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.303e-05/1.681, allocations: 14.59 kB / 0.9533 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005387/1.682, allocations: 138.9 kB / 0.9534 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.954e-05/1.682, allocations: 17.56 kB / 0.9534 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.567e-05/1.682, allocations: 14.09 kB / 0.9534 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.478e-05/1.682, allocations: 28.41 kB / 0.9534 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.198e-05/1.682, allocations: 18.53 kB / 0.9535 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002078/1.684, allocations: 2.401 MB / 0.9558 GB, free: 121.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006293/1.685, allocations: 346.3 kB / 0.9561 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001509/1.685, allocations: 15.31 kB / 0.9562 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009571/1.686, allocations: 109.6 kB / 0.9563 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.884e-05/1.686, allocations: 77.8 kB / 0.9563 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.946e-05/1.686, allocations: 26.19 kB / 0.9564 GB, free: 121.6 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001149/1.687, allocations: 0.8407 MB / 0.9572 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.2e-07/1.687, allocations: 0 / 0.9572 GB, free: 121.5 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003666/1.691, allocations: 0.7162 MB / 0.9579 GB, free: 121.5 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * 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): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002654/1.691, allocations: 141.4 kB / 0.958 GB, free: 121.4 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.00333/1.694, allocations: 2.414 MB / 0.9604 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.694, allocations: 4.062 kB / 0.9604 GB, free: 120.6 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0004863/1.695, allocations: 436.2 kB / 0.9608 GB, free: 120.5 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/1.696, allocations: 210.8 kB / 0.961 GB, free: 120.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006519/1.703, allocations: 3.415 MB / 0.9643 GB, free: 118.9 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001877/1.705, allocations: 2.053 MB / 0.9663 GB, free: 117.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002304/1.707, allocations: 0.8995 MB / 0.9672 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002275/1.707, allocations: 71.88 kB / 0.9673 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of SimCode: time 2.374e-06/1.707, allocations: 0 / 0.9673 GB, free: 117.8 MB / 0.5886 GB Notification: Performance of Templates: time 0.02413/1.731, allocations: 12.85 MB / 0.9798 GB, free: 117.1 MB / 0.5886 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1)