Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.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.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8522/0.8522, allocations: 132.4 MB / 139.9 MB, free: 15.39 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00133/0.001329, allocations: 170.3 kB / 171.8 MB, free: 2.043 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.483/1.483, allocations: 170.6 MB / 374.2 MB, free: 15.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001614/0.001614, allocations: 107.3 kB / 444.8 MB, free: 9.309 MB / 346.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.4679/0.4679, allocations: 73.4 MB / 0.6666 GB, free: 46.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.621, allocations: 124.1 MB / 0.7878 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003742/0.6215, allocations: 91.94 kB / 0.7879 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04496/0.6664, allocations: 17.67 MB / 0.8051 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6665, allocations: 0 / 0.8051 GB, free: 10.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.596e-05/0.6665, allocations: 4 kB / 0.8051 GB, free: 10.93 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001399/0.6679, allocations: 0.612 MB / 0.8057 GB, free: 10.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.668, allocations: 12.03 kB / 0.8057 GB, free: 10.26 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009091/0.6689, allocations: 98.36 kB / 0.8058 GB, free: 10.16 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.6694, allocations: 278.4 kB / 0.8061 GB, free: 9.852 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.6694, allocations: 8 kB / 0.8061 GB, free: 9.844 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.6695, allocations: 12 kB / 0.8061 GB, free: 9.832 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004471/0.6699, allocations: 241.8 kB / 0.8063 GB, free: 9.598 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005063/0.6704, allocations: 349.4 kB / 0.8067 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/0.6705, allocations: 0 / 0.8067 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.301e-05/0.6705, allocations: 0 / 0.8067 GB, free: 9.234 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.376e-05/0.6705, allocations: 24.36 kB / 0.8067 GB, free: 9.207 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001833/0.6724, allocations: 1.387 MB / 0.8081 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007351/0.6731, allocations: 391.3 kB / 0.8084 GB, free: 7.352 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002173/0.6734, allocations: 154.6 kB / 0.8086 GB, free: 7.195 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.6735, allocations: 89.11 kB / 0.8087 GB, free: 7.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003371/0.6739, allocations: 222.3 kB / 0.8089 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=27): time 2.034e-06/0.6739, allocations: 0 / 0.8089 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of matching and sorting (n=28): time 0.0009516/0.6749, allocations: 433.4 kB / 0.8093 GB, free: 6.426 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.6749, allocations: 85.19 kB / 0.8094 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000196/0.6751, allocations: 191.9 kB / 0.8096 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.6752, allocations: 33.69 kB / 0.8096 GB, free: 6.09 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/0.6753, allocations: 160.2 kB / 0.8097 GB, free: 5.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.103e-05/0.6754, allocations: 91.5 kB / 0.8098 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.93e-05/0.6754, allocations: 0 / 0.8098 GB, free: 5.84 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.6755, allocations: 330.8 kB / 0.8101 GB, free: 5.508 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001999/0.6757, allocations: 132.2 kB / 0.8103 GB, free: 5.379 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.676, allocations: 201.4 kB / 0.8105 GB, free: 5.152 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.6763, allocations: 160.1 kB / 0.8106 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.6763, allocations: 0 / 0.8106 GB, free: 4.996 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007513/0.677, allocations: 416.6 kB / 0.811 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004181/0.6775, allocations: 0.9166 MB / 0.8119 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.6775, allocations: 1.328 kB / 0.8119 GB, free: 3.594 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.6777, allocations: 40.81 kB / 0.8119 GB, free: 3.551 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003877/0.6781, allocations: 87.88 kB / 0.812 GB, free: 3.465 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.6794, allocations: 1.432 MB / 0.8134 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.6798, allocations: 55.84 kB / 0.8135 GB, free: 1.855 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.6798, allocations: 19.98 kB / 0.8135 GB, free: 1.836 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/0.6798, allocations: 4 kB / 0.8135 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000675/0.6805, allocations: 360.5 kB / 0.8138 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.6805, allocations: 4 kB / 0.8139 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001203/0.6807, allocations: 41.11 kB / 0.8139 GB, free: 1.43 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003597/0.681, allocations: 87.86 kB / 0.814 GB, free: 1.344 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/0.6822, allocations: 1.431 MB / 0.8154 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.6825, allocations: 47.83 kB / 0.8154 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.6826, allocations: 15.94 kB / 0.8154 GB, free: 15.73 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.load.T_start,load.T_start,$PRE.load.count,load.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.6827, allocations: 121.9 kB / 0.8155 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.6828, allocations: 23.72 kB / 0.8156 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007358/0.6835, allocations: 383.6 kB / 0.8159 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.6835, allocations: 8 kB / 0.8159 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6836, allocations: 0 / 0.8159 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.6836, allocations: 3.984 kB / 0.8159 GB, free: 15.19 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006422/0.6842, allocations: 0.5198 MB / 0.8165 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.6842, allocations: 0 / 0.8165 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003723/0.6846, allocations: 84.02 kB / 0.8165 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001267/0.6847, allocations: 36.77 kB / 0.8166 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.959e-05/0.6848, allocations: 4 kB / 0.8166 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001064/0.6859, allocations: 1.347 MB / 0.8179 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.6859, allocations: 3.953 kB / 0.8179 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006668/0.6865, allocations: 0.4957 MB / 0.8184 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.6867, allocations: 136.7 kB / 0.8185 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.072e-05/0.6868, allocations: 0 / 0.8185 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002967/0.6871, allocations: 39.95 kB / 0.8185 GB, free: 12.3 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.736e-05/0.6872, allocations: 31.95 kB / 0.8186 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.587e-05/0.6872, allocations: 14.17 kB / 0.8186 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001459/0.6873, allocations: 160.5 kB / 0.8187 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6873, allocations: 3.938 kB / 0.8187 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005886/0.6879, allocations: 127.9 kB / 0.8189 GB, free: 11.97 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001853/0.6881, allocations: 127.1 kB / 0.819 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001163/0.6893, allocations: 0.8285 MB / 0.8198 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.6893, allocations: 0 / 0.8198 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.6897, allocations: 291.1 kB / 0.8201 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.6901, allocations: 38.73 kB / 0.8201 GB, free: 10.64 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008019/0.6909, allocations: 436.3 kB / 0.8205 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.6913, allocations: 0.7963 MB / 0.8213 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003854/0.6917, allocations: 106.8 kB / 0.8214 GB, free: 9.258 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.6918, allocations: 27.42 kB / 0.8214 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of SimCode: time 3.9e-07/0.6918, allocations: 0 / 0.8214 GB, free: 9.23 MB / 0.5261 GB Notification: Performance of Templates: time 0.007849/0.6997, allocations: 4.103 MB / 0.8254 GB, free: 5.195 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.VariablePowerSource.pipe 2>&1)