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.8448/0.8448, allocations: 133.7 MB / 148.6 MB, free: 13.66 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.001203/0.001204, allocations: 184 kB / 180.9 MB, free: 15.07 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.434/1.434, allocations: 170.7 MB / 383.7 MB, free: 16.15 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.001643/0.001643, allocations: 117.8 kB / 454.6 MB, free: 9.73 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.1987/0.1992, allocations: 73.41 MB / 0.6812 GB, free: 5.574 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6203/0.8196, allocations: 124.8 MB / 0.8031 GB, free: 5.75 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003703/0.82, allocations: 97.62 kB / 0.8032 GB, free: 5.691 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04258/0.8626, allocations: 17.84 MB / 0.8206 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8627, allocations: 0 / 0.8206 GB, free: 4.973 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 2.58e-05/0.8627, allocations: 4 kB / 0.8206 GB, free: 4.969 MB / 0.4948 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.00132/0.8641, allocations: 0.6473 MB / 0.8212 GB, free: 4.27 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.8641, allocations: 8.562 kB / 0.8212 GB, free: 4.262 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007755/0.8649, allocations: 103 kB / 0.8213 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.8653, allocations: 278.2 kB / 0.8216 GB, free: 3.852 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.8654, allocations: 16.42 kB / 0.8216 GB, free: 3.836 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.8654, allocations: 20 kB / 0.8216 GB, free: 3.816 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007951/0.8662, allocations: 418.5 kB / 0.822 GB, free: 3.379 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.132e-05/0.8663, allocations: 3.984 kB / 0.822 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.528e-05/0.8663, allocations: 19.92 kB / 0.8221 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.101e-05/0.8664, allocations: 24.36 kB / 0.8221 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008598/0.8672, allocations: 415.6 kB / 0.8225 GB, free: 2.926 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002046/0.8693, allocations: 1.449 MB / 0.8239 GB, free: 1.398 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.8704, allocations: 485.2 kB / 0.8244 GB, free: 0.9023 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.8706, allocations: 89.09 kB / 0.8244 GB, free: 0.7969 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005572/0.8712, allocations: 273.4 kB / 0.8247 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=27): time 1.603e-06/0.8712, allocations: 4 kB / 0.8247 GB, free: 0.5117 MB / 0.4948 GB Notification: Performance of matching and sorting (n=28): time 0.00193/0.8731, allocations: 0.7905 MB / 0.8255 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.8732, allocations: 89.05 kB / 0.8256 GB, free: 15.59 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000208/0.8734, allocations: 192.2 kB / 0.8258 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.8735, allocations: 33.7 kB / 0.8258 GB, free: 15.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.8736, allocations: 168.3 kB / 0.8259 GB, free: 15.19 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.8737, allocations: 86.75 kB / 0.826 GB, free: 15.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.202e-05/0.8737, allocations: 8 kB / 0.826 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.8739, allocations: 338.8 kB / 0.8264 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004117/0.8743, allocations: 180.2 kB / 0.8265 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004503/0.8748, allocations: 261.3 kB / 0.8268 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004558/0.8753, allocations: 225.8 kB / 0.827 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8753, allocations: 0 / 0.827 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001152/0.8764, allocations: 0.5659 MB / 0.8275 GB, free: 13.49 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005067/0.8769, allocations: 0.9021 MB / 0.8284 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.877, allocations: 0 / 0.8284 GB, free: 12.51 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002656/0.8772, allocations: 40.81 kB / 0.8285 GB, free: 12.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000412/0.8777, allocations: 107.7 kB / 0.8286 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.8791, allocations: 1.512 MB / 0.83 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.8795, allocations: 55.8 kB / 0.8301 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.8796, allocations: 8 kB / 0.8301 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.8796, allocations: 4 kB / 0.8301 GB, free: 10.65 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001056/0.8806, allocations: 0.5061 MB / 0.8306 GB, free: 10.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.8807, allocations: 4 kB / 0.8306 GB, free: 10.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001231/0.8808, allocations: 40.81 kB / 0.8306 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.8811, allocations: 88.03 kB / 0.8307 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001272/0.8824, allocations: 1.501 MB / 0.8322 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002909/0.8827, allocations: 51.83 kB / 0.8322 GB, free: 8.312 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.8828, allocations: 19.98 kB / 0.8323 GB, free: 8.293 MB / 0.5105 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 () * Number of clocked 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.0002438/0.883, allocations: 233 kB / 0.8325 GB, free: 8.055 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.627e-05/0.8831, allocations: 23.72 kB / 0.8325 GB, free: 8.031 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001065/0.8842, allocations: 0.4929 MB / 0.833 GB, free: 7.523 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.8842, allocations: 4 kB / 0.833 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.8842, allocations: 0 / 0.833 GB, free: 7.52 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.576e-06/0.8842, allocations: 7.984 kB / 0.833 GB, free: 7.512 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007022/0.8849, allocations: 0.5662 MB / 0.8336 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.8849, allocations: 3.953 kB / 0.8336 GB, free: 6.879 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003906/0.8853, allocations: 87.84 kB / 0.8336 GB, free: 6.793 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001159/0.8854, allocations: 36.92 kB / 0.8337 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.82e-05/0.8855, allocations: 8 kB / 0.8337 GB, free: 6.746 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001127/0.8866, allocations: 1.421 MB / 0.8351 GB, free: 5.195 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.8866, allocations: 4.031 kB / 0.8351 GB, free: 5.191 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.8877, allocations: 0.6013 MB / 0.8357 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.8879, allocations: 136.7 kB / 0.8358 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.056e-05/0.8879, allocations: 7.953 kB / 0.8358 GB, free: 4.383 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003081/0.8882, allocations: 47.95 kB / 0.8358 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.8883, allocations: 27.95 kB / 0.8359 GB, free: 4.309 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-05/0.8884, allocations: 15.88 kB / 0.8359 GB, free: 4.293 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000165/0.8886, allocations: 176.5 kB / 0.8361 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8886, allocations: 0 / 0.8361 GB, free: 4.125 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005822/0.8891, allocations: 143.9 kB / 0.8362 GB, free: 3.984 MB / 0.5105 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) * Number of clocked states: 0 () * 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.0002331/0.8894, allocations: 127.2 kB / 0.8363 GB, free: 3.848 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001851/0.8912, allocations: 1.016 MB / 0.8373 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8913, allocations: 0 / 0.8373 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000613/0.8919, allocations: 338.8 kB / 0.8376 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.8922, allocations: 40.41 kB / 0.8377 GB, free: 2.398 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.8939, allocations: 0.8369 MB / 0.8385 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.8943, allocations: 0.7956 MB / 0.8393 GB, free: 0.7109 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003055/0.8946, allocations: 101.2 kB / 0.8394 GB, free: 0.6133 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.667e-05/0.8947, allocations: 31.38 kB / 0.8394 GB, free: 0.582 MB / 0.5105 GB Notification: Performance of SimCode: time 9.82e-07/0.8947, allocations: 4 kB / 0.8394 GB, free: 0.5781 MB / 0.5105 GB Notification: Performance of Templates: time 0.008178/0.9029, allocations: 4.028 MB / 0.8433 GB, free: 12.6 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)