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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7592/0.7592, allocations: 132.4 MB / 139.7 MB, free: 15.59 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.001335/0.001335, allocations: 166.9 kB / 171.6 MB, free: 1.992 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.788/1.788, allocations: 170.5 MB / 373.9 MB, free: 15.82 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.00175/0.00175, allocations: 119.4 kB / 444.5 MB, free: 9.367 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.5263/0.5263, allocations: 73.39 MB / 0.666 GB, free: 62.32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.6859, allocations: 121.5 MB / 0.7847 GB, free: 14.65 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.6862, allocations: 84.89 kB / 0.7848 GB, free: 14.57 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04248/0.7287, allocations: 15.89 MB / 0.8003 GB, free: 14.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.124e-05/0.7288, allocations: 8 kB / 0.8003 GB, free: 14.66 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.00115/0.7299, allocations: 0.5234 MB / 0.8008 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.673e-05/0.73, allocations: 8.031 kB / 0.8008 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.731, allocations: 95.61 kB / 0.8009 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.7314, allocations: 266.5 kB / 0.8012 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.7314, allocations: 4 kB / 0.8012 GB, free: 13.68 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.057e-05/0.7315, allocations: 12 kB / 0.8012 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004165/0.7319, allocations: 224.7 kB / 0.8014 GB, free: 13.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005313/0.7325, allocations: 333.4 kB / 0.8017 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.7325, allocations: 0 / 0.8017 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.294e-05/0.7325, allocations: 0 / 0.8017 GB, free: 13.09 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.383e-05/0.7326, allocations: 28.25 kB / 0.8018 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001871/0.7345, allocations: 1.469 MB / 0.8032 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004056/0.7349, allocations: 269.2 kB / 0.8034 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.7351, allocations: 133.7 kB / 0.8036 GB, free: 11.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/0.7353, allocations: 89.11 kB / 0.8037 GB, free: 11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.884e-05/0.7353, allocations: 42.5 kB / 0.8037 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 1.683e-06/0.7353, allocations: 0 / 0.8037 GB, free: 10.95 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.001066/0.7364, allocations: 385.2 kB / 0.8041 GB, free: 10.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/0.7365, allocations: 88.98 kB / 0.8041 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.7366, allocations: 173.8 kB / 0.8043 GB, free: 10.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.7367, allocations: 25.7 kB / 0.8043 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.7368, allocations: 151.9 kB / 0.8045 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.015e-05/0.7368, allocations: 70.91 kB / 0.8046 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.7369, allocations: 0 / 0.8046 GB, free: 10.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.737, allocations: 330.8 kB / 0.8049 GB, free: 9.691 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.7372, allocations: 112 kB / 0.805 GB, free: 9.582 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002294/0.7374, allocations: 190.4 kB / 0.8052 GB, free: 9.355 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003053/0.7377, allocations: 160.8 kB / 0.8053 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.7378, allocations: 0 / 0.8053 GB, free: 9.199 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007167/0.7385, allocations: 392.8 kB / 0.8057 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004997/0.739, allocations: 1.047 MB / 0.8067 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.739, allocations: 0 / 0.8067 GB, free: 7.68 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002464/0.7393, allocations: 44.77 kB / 0.8067 GB, free: 7.633 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.7396, allocations: 75.89 kB / 0.8068 GB, free: 7.559 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001635/0.7413, allocations: 1.405 MB / 0.8082 GB, free: 6.027 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.7416, allocations: 27.88 kB / 0.8082 GB, free: 6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.449e-05/0.7416, allocations: 15.98 kB / 0.8082 GB, free: 5.984 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.157e-06/0.7416, allocations: 6.25 kB / 0.8082 GB, free: 5.98 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006418/0.7423, allocations: 318.4 kB / 0.8085 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.7423, allocations: 0 / 0.8085 GB, free: 5.668 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001405/0.7425, allocations: 41.17 kB / 0.8086 GB, free: 5.625 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002907/0.7428, allocations: 71.89 kB / 0.8087 GB, free: 5.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001275/0.744, allocations: 1.408 MB / 0.81 GB, free: 4.031 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.7443, allocations: 23.88 kB / 0.8101 GB, free: 4.008 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.342e-05/0.7443, allocations: 8 kB / 0.8101 GB, free: 4 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.0001346/0.7445, allocations: 117.9 kB / 0.8102 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.209e-05/0.7446, allocations: 23.66 kB / 0.8102 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.7452, allocations: 328.9 kB / 0.8105 GB, free: 3.531 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.7453, allocations: 4 kB / 0.8105 GB, free: 3.527 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.7453, allocations: 3.906 kB / 0.8105 GB, free: 3.523 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/0.7453, allocations: 4 kB / 0.8105 GB, free: 3.52 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.7468, allocations: 0.9052 MB / 0.8114 GB, free: 2.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.7468, allocations: 4.031 kB / 0.8114 GB, free: 2.547 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002627/0.747, allocations: 51.95 kB / 0.8115 GB, free: 2.496 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001393/0.7472, allocations: 36.83 kB / 0.8115 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.501e-05/0.7472, allocations: 7.906 kB / 0.8115 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00128/0.7485, allocations: 1.336 MB / 0.8128 GB, free: 1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.831e-06/0.7485, allocations: 0 / 0.8128 GB, free: 1 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007473/0.7493, allocations: 0.5986 MB / 0.8134 GB, free: 328 kB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001271/0.7494, allocations: 120.8 kB / 0.8135 GB, free: 188 kB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.368e-05/0.7495, allocations: 7.938 kB / 0.8135 GB, free: 180 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002769/0.7498, allocations: 27.97 kB / 0.8135 GB, free: 152 kB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.888e-05/0.7498, allocations: 15.89 kB / 0.8136 GB, free: 136 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.11e-05/0.7499, allocations: 8 kB / 0.8136 GB, free: 128 kB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0001358/0.75, allocations: 140.9 kB / 0.8137 GB, free: 15.99 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006879/0.7507, allocations: 103.9 kB / 0.8138 GB, free: 15.89 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.0002093/0.7509, allocations: 119.1 kB / 0.8139 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001092/0.752, allocations: 0.6423 MB / 0.8145 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.752, allocations: 0 / 0.8145 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.7524, allocations: 246 kB / 0.8148 GB, free: 14.85 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.7528, allocations: 33.17 kB / 0.8148 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000951/0.7537, allocations: 438.7 kB / 0.8152 GB, free: 14.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000495/0.7542, allocations: 0.7949 MB / 0.816 GB, free: 13.53 MB / 0.5261 GB Notification: Performance of SimCode: time 4.31e-07/0.7542, allocations: 3.938 kB / 0.816 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of Templates: time 0.009179/0.7634, allocations: 4.226 MB / 0.8201 GB, free: 9.344 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)