Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.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.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.756/0.756, allocations: 132.4 MB / 139.9 MB, free: 15.38 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.001154/0.001154, allocations: 172.6 kB / 171.8 MB, free: 1.977 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.616/1.616, allocations: 170.6 MB / 374.2 MB, free: 15.7 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.001674/0.001674, allocations: 127.8 kB / 444.8 MB, free: 9.215 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.4792/0.4793, allocations: 73.4 MB / 0.6666 GB, free: 46.94 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.6469, allocations: 121.6 MB / 0.7854 GB, free: 15.14 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/0.6472, allocations: 83.95 kB / 0.7855 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.04134/0.6886, allocations: 16.27 MB / 0.8014 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6887, allocations: 3.938 kB / 0.8014 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.6887, allocations: 4 kB / 0.8014 GB, free: 14.75 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008404/0.6895, allocations: 0.5249 MB / 0.8019 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.6896, allocations: 8.031 kB / 0.8019 GB, free: 14.18 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007724/0.6904, allocations: 91.62 kB / 0.802 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.6907, allocations: 259.4 kB / 0.8022 GB, free: 13.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.6908, allocations: 8 kB / 0.8022 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.6908, allocations: 12 kB / 0.8022 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003819/0.6912, allocations: 212.7 kB / 0.8024 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004714/0.6917, allocations: 333.3 kB / 0.8028 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.6917, allocations: 3.609 kB / 0.8028 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.6917, allocations: 3.984 kB / 0.8028 GB, free: 13.21 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.6918, allocations: 24.31 kB / 0.8028 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.6935, allocations: 1.465 MB / 0.8042 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006034/0.6941, allocations: 311.4 kB / 0.8045 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.6943, allocations: 125.7 kB / 0.8046 GB, free: 11.2 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001787/0.6945, allocations: 93.08 kB / 0.8047 GB, free: 11.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.6945, allocations: 38.56 kB / 0.8048 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 2.324e-06/0.6946, allocations: 0 / 0.8048 GB, free: 11.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.0008544/0.6954, allocations: 378.9 kB / 0.8051 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.6955, allocations: 77.11 kB / 0.8052 GB, free: 10.57 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.6956, allocations: 169.8 kB / 0.8054 GB, free: 10.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.547e-05/0.6957, allocations: 29.7 kB / 0.8054 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.6958, allocations: 164 kB / 0.8055 GB, free: 10.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.6959, allocations: 71 kB / 0.8056 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/0.6959, allocations: 0 / 0.8056 GB, free: 10.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.696, allocations: 330.8 kB / 0.8059 GB, free: 9.793 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.6962, allocations: 104 kB / 0.806 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002153/0.6964, allocations: 190.4 kB / 0.8062 GB, free: 9.465 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002536/0.6967, allocations: 152.8 kB / 0.8064 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6967, allocations: 0 / 0.8064 GB, free: 9.316 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006228/0.6973, allocations: 376.8 kB / 0.8067 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004435/0.6978, allocations: 1.059 MB / 0.8077 GB, free: 7.801 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6978, allocations: 4 kB / 0.8077 GB, free: 7.797 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002117/0.698, allocations: 40.81 kB / 0.8078 GB, free: 7.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.6983, allocations: 71.89 kB / 0.8079 GB, free: 7.684 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/0.6997, allocations: 1.436 MB / 0.8093 GB, free: 6.129 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002251/0.6999, allocations: 27.94 kB / 0.8093 GB, free: 6.102 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.753e-05/0.6999, allocations: 15.98 kB / 0.8093 GB, free: 6.086 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.083e-06/0.7, allocations: 4 kB / 0.8093 GB, free: 6.082 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005521/0.7005, allocations: 310.6 kB / 0.8096 GB, free: 5.777 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.076e-06/0.7005, allocations: 4.281 kB / 0.8096 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001264/0.7007, allocations: 40.83 kB / 0.8096 GB, free: 5.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002636/0.7009, allocations: 71.89 kB / 0.8097 GB, free: 5.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.7022, allocations: 1.428 MB / 0.8111 GB, free: 4.117 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001834/0.7024, allocations: 20.02 kB / 0.8111 GB, free: 4.098 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.429e-05/0.7024, allocations: 15.98 kB / 0.8111 GB, free: 4.082 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * 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: 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.0001284/0.7025, allocations: 112.9 kB / 0.8112 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.043e-05/0.7026, allocations: 19.91 kB / 0.8113 GB, free: 3.945 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005929/0.7032, allocations: 322.7 kB / 0.8116 GB, free: 3.621 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-05/0.7032, allocations: 11.97 kB / 0.8116 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.679e-06/0.7032, allocations: 3.953 kB / 0.8116 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.7033, allocations: 0 / 0.8116 GB, free: 3.605 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001308/0.7046, allocations: 0.8901 MB / 0.8125 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.7046, allocations: 4 kB / 0.8125 GB, free: 2.645 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.7048, allocations: 54.02 kB / 0.8125 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001099/0.7049, allocations: 41.05 kB / 0.8126 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.705, allocations: 0 / 0.8126 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009727/0.7059, allocations: 1.346 MB / 0.8139 GB, free: 1.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.706, allocations: 4.031 kB / 0.8139 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006532/0.7066, allocations: 0.5801 MB / 0.8144 GB, free: 436 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001309/0.7068, allocations: 128.8 kB / 0.8146 GB, free: 288 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.7068, allocations: 3.984 kB / 0.8146 GB, free: 284 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.707, allocations: 25.19 kB / 0.8146 GB, free: 260 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.7071, allocations: 19.97 kB / 0.8146 GB, free: 240 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.7071, allocations: 8 kB / 0.8146 GB, free: 232 kB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001362/0.7073, allocations: 140.2 kB / 0.8147 GB, free: 92 kB / 0.5105 GB Notification: Performance of sort global known variables: time 2.544e-06/0.7073, allocations: 4 kB / 0.8148 GB, free: 88 kB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007076/0.708, allocations: 107.9 kB / 0.8149 GB, free: 15.98 MB / 0.5261 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * 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: 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.0001844/0.7082, allocations: 115.6 kB / 0.815 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009285/0.7091, allocations: 0.6448 MB / 0.8156 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.7092, allocations: 4.062 kB / 0.8156 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003073/0.7095, allocations: 241.7 kB / 0.8158 GB, free: 14.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.7098, allocations: 31.36 kB / 0.8159 GB, free: 14.92 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000725/0.7106, allocations: 415.7 kB / 0.8163 GB, free: 14.48 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003847/0.711, allocations: 0.7799 MB / 0.817 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002757/0.7113, allocations: 102.1 kB / 0.8171 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.74e-05/0.7113, allocations: 19.44 kB / 0.8171 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of SimCode: time 2.31e-07/0.7113, allocations: 3.938 kB / 0.8171 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of Templates: time 0.00662/0.718, allocations: 2.99 MB / 0.8201 GB, free: 10.59 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.pipe 2>&1)