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.8/0.8, allocations: 133.7 MB / 148.6 MB, free: 13.64 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.001076/0.001076, allocations: 164.2 kB / 180.8 MB, free: 15.1 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.691/1.691, allocations: 170.7 MB / 383.7 MB, free: 16.18 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.001671/0.001671, allocations: 121.6 kB / 454.6 MB, free: 9.75 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.18/0.1805, allocations: 73.41 MB / 0.6812 GB, free: 5.586 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5032/0.6838, allocations: 122.4 MB / 0.8007 GB, free: 8.207 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003449/0.6842, allocations: 92.97 kB / 0.8008 GB, free: 8.156 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0372/0.7215, allocations: 16.44 MB / 0.8168 GB, free: 8.836 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7215, allocations: 4 kB / 0.8168 GB, free: 8.832 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.851e-05/0.7215, allocations: 4 kB / 0.8168 GB, free: 8.828 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009341/0.7225, allocations: 0.54 MB / 0.8174 GB, free: 8.238 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.7225, allocations: 8.031 kB / 0.8174 GB, free: 8.23 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007629/0.7233, allocations: 99.61 kB / 0.8175 GB, free: 8.133 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00036/0.7237, allocations: 257.6 kB / 0.8177 GB, free: 7.852 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.7237, allocations: 20.3 kB / 0.8177 GB, free: 7.832 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.88e-05/0.7237, allocations: 20 kB / 0.8178 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005827/0.7243, allocations: 369.7 kB / 0.8181 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.7244, allocations: 0 / 0.8181 GB, free: 7.422 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.7244, allocations: 8 kB / 0.8181 GB, free: 7.414 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.582e-05/0.7245, allocations: 20.31 kB / 0.8181 GB, free: 7.391 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005606/0.725, allocations: 339.5 kB / 0.8185 GB, free: 7.062 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001868/0.7269, allocations: 1.52 MB / 0.8199 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007094/0.7276, allocations: 341 kB / 0.8203 GB, free: 5.105 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.7278, allocations: 89.09 kB / 0.8203 GB, free: 5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.7279, allocations: 38.55 kB / 0.8204 GB, free: 4.953 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=20): time 5.129e-06/0.7279, allocations: 3.984 kB / 0.8204 GB, free: 4.949 MB / 0.4948 GB Notification: Performance of matching and sorting (n=21): time 0.001402/0.7293, allocations: 0.6076 MB / 0.821 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.614e-05/0.7293, allocations: 89.05 kB / 0.8211 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.7295, allocations: 191.5 kB / 0.8212 GB, free: 4.02 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.323e-05/0.7296, allocations: 29.7 kB / 0.8213 GB, free: 3.984 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.7297, allocations: 152 kB / 0.8214 GB, free: 3.832 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 6.917e-05/0.7298, allocations: 74.94 kB / 0.8215 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.599e-05/0.7298, allocations: 4 kB / 0.8215 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.7299, allocations: 330.8 kB / 0.8218 GB, free: 3.422 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002453/0.7302, allocations: 139.8 kB / 0.8219 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003031/0.7305, allocations: 214.3 kB / 0.8222 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002881/0.7308, allocations: 164.4 kB / 0.8223 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.7308, allocations: 0 / 0.8223 GB, free: 2.879 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007695/0.7316, allocations: 444.6 kB / 0.8227 GB, free: 2.438 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004139/0.732, allocations: 1.051 MB / 0.8238 GB, free: 1.305 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.323e-06/0.732, allocations: 4 kB / 0.8238 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002272/0.7322, allocations: 44.83 kB / 0.8238 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003144/0.7326, allocations: 71.88 kB / 0.8239 GB, free: 1.184 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001364/0.7339, allocations: 1.501 MB / 0.8253 GB, free: 15.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002386/0.7342, allocations: 31.81 kB / 0.8254 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/0.7342, allocations: 19.98 kB / 0.8254 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.554e-06/0.7342, allocations: 4 kB / 0.8254 GB, free: 15.49 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006921/0.7349, allocations: 364.7 kB / 0.8257 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.7349, allocations: 8.031 kB / 0.8257 GB, free: 15.12 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001255/0.7351, allocations: 48.77 kB / 0.8258 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002761/0.7354, allocations: 67.89 kB / 0.8259 GB, free: 15.01 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001216/0.7366, allocations: 1.493 MB / 0.8273 GB, free: 13.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/0.7368, allocations: 27.86 kB / 0.8273 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.7368, allocations: 15.98 kB / 0.8274 GB, free: 13.33 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 () * Number of clocked 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.0002444/0.7371, allocations: 225 kB / 0.8276 GB, free: 13.1 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.045e-05/0.7372, allocations: 31.73 kB / 0.8276 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007383/0.7379, allocations: 368 kB / 0.828 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.7379, allocations: 4 kB / 0.828 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.738, allocations: 0 / 0.828 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.738, allocations: 3.984 kB / 0.828 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001464/0.7394, allocations: 0.9677 MB / 0.8289 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.935e-06/0.7394, allocations: 0 / 0.8289 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002393/0.7397, allocations: 63.83 kB / 0.829 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001218/0.7398, allocations: 37.05 kB / 0.829 GB, free: 11.55 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.236e-05/0.7399, allocations: 12.06 kB / 0.829 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001088/0.741, allocations: 1.421 MB / 0.8304 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.741, allocations: 4.031 kB / 0.8304 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007447/0.7417, allocations: 0.6267 MB / 0.831 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.7419, allocations: 128.7 kB / 0.8311 GB, free: 9.125 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.7419, allocations: 4 kB / 0.8311 GB, free: 9.121 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002343/0.7422, allocations: 27.97 kB / 0.8312 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.309e-05/0.7422, allocations: 27.91 kB / 0.8312 GB, free: 9.066 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.7423, allocations: 8 kB / 0.8312 GB, free: 9.059 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001654/0.7424, allocations: 155 kB / 0.8314 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7424, allocations: 0 / 0.8314 GB, free: 8.906 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006165/0.7431, allocations: 120 kB / 0.8315 GB, free: 8.789 MB / 0.5105 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 () * Number of clocked 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.0001846/0.7433, allocations: 123.2 kB / 0.8316 GB, free: 8.66 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.7445, allocations: 0.733 MB / 0.8323 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.7445, allocations: 0 / 0.8323 GB, free: 7.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000399/0.7449, allocations: 283.4 kB / 0.8326 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003175/0.7452, allocations: 27.97 kB / 0.8326 GB, free: 7.594 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009808/0.7462, allocations: 0.6817 MB / 0.8333 GB, free: 6.871 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.7466, allocations: 0.7795 MB / 0.834 GB, free: 6.062 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0002516/0.7469, allocations: 89.86 kB / 0.8341 GB, free: 5.977 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.561e-05/0.7469, allocations: 23.42 kB / 0.8341 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of SimCode: time 8.51e-07/0.747, allocations: 0 / 0.8341 GB, free: 5.957 MB / 0.5105 GB Notification: Performance of Templates: time 0.0064/0.7534, allocations: 2.931 MB / 0.837 GB, free: 3.035 MB / 0.5105 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)