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.6912/0.6912, allocations: 132.3 MB / 144.9 MB, free: 10.71 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.001091/0.001091, allocations: 176.6 kB / 176.9 MB, free: 2.195 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.27/1.27, allocations: 170.5 MB / 379.3 MB, free: 11.93 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.001438/0.001438, allocations: 117.4 kB / 450 MB, free: 5.832 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.4295/0.4296, allocations: 73.38 MB / 0.6736 GB, free: 47.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.5726, allocations: 122.3 MB / 0.793 GB, free: 10.35 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.5729, allocations: 83.95 kB / 0.7931 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.0382/0.6112, allocations: 16.34 MB / 0.8091 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.243e-06/0.6112, allocations: 0 / 0.8091 GB, free: 9.883 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.75e-05/0.6112, allocations: 4 kB / 0.8091 GB, free: 9.879 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.0008003/0.612, allocations: 0.5194 MB / 0.8096 GB, free: 9.312 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.6121, allocations: 16.03 kB / 0.8096 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007986/0.6129, allocations: 95.59 kB / 0.8097 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003443/0.6132, allocations: 257.4 kB / 0.8099 GB, free: 8.914 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.6133, allocations: 12.38 kB / 0.8099 GB, free: 8.902 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.6133, allocations: 19.98 kB / 0.81 GB, free: 8.883 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.6139, allocations: 353.7 kB / 0.8103 GB, free: 8.508 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.6139, allocations: 4 kB / 0.8103 GB, free: 8.504 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.827e-05/0.6139, allocations: 7.609 kB / 0.8103 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/0.614, allocations: 24.31 kB / 0.8103 GB, free: 8.473 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004575/0.6144, allocations: 293.5 kB / 0.8106 GB, free: 8.188 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001587/0.616, allocations: 1.512 MB / 0.8121 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000579/0.6166, allocations: 317.1 kB / 0.8124 GB, free: 6.262 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001849/0.6168, allocations: 145.5 kB / 0.8125 GB, free: 6.117 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001351/0.617, allocations: 93.08 kB / 0.8126 GB, free: 6.008 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.881e-05/0.617, allocations: 38.5 kB / 0.8126 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=20): time 1.383e-06/0.617, allocations: 0 / 0.8126 GB, free: 5.961 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.000753/0.6177, allocations: 377.3 kB / 0.813 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.6178, allocations: 77.11 kB / 0.8131 GB, free: 5.488 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.618, allocations: 191.6 kB / 0.8133 GB, free: 5.297 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.618, allocations: 29.7 kB / 0.8133 GB, free: 5.262 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.919e-05/0.6181, allocations: 164 kB / 0.8134 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.6182, allocations: 75.09 kB / 0.8135 GB, free: 5.023 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.166e-05/0.6182, allocations: 4 kB / 0.8135 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.6183, allocations: 330.8 kB / 0.8138 GB, free: 4.688 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.6185, allocations: 112 kB / 0.8139 GB, free: 4.578 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/0.6187, allocations: 198.4 kB / 0.8141 GB, free: 4.344 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.6189, allocations: 144.8 kB / 0.8143 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.6189, allocations: 0 / 0.8143 GB, free: 4.203 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006083/0.6195, allocations: 400.6 kB / 0.8147 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003939/0.6199, allocations: 1.051 MB / 0.8157 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.6199, allocations: 0 / 0.8157 GB, free: 2.672 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002149/0.6202, allocations: 52.75 kB / 0.8157 GB, free: 2.617 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003049/0.6205, allocations: 75.81 kB / 0.8158 GB, free: 2.543 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.6219, allocations: 1.478 MB / 0.8172 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002247/0.6221, allocations: 35.94 kB / 0.8173 GB, free: 0.8945 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.6221, allocations: 12 kB / 0.8173 GB, free: 0.8828 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.6222, allocations: 5.875 kB / 0.8173 GB, free: 0.8789 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005655/0.6228, allocations: 340 kB / 0.8176 GB, free: 0.5469 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.6228, allocations: 8.297 kB / 0.8176 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001191/0.6229, allocations: 40.83 kB / 0.8177 GB, free: 0.4961 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002595/0.6232, allocations: 71.89 kB / 0.8177 GB, free: 436 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/0.6244, allocations: 1.486 MB / 0.8192 GB, free: 14.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.6246, allocations: 23.98 kB / 0.8192 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.6246, allocations: 15.98 kB / 0.8192 GB, free: 14.77 MB / 0.5261 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.0001103/0.6247, allocations: 120.9 kB / 0.8193 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.329e-05/0.6248, allocations: 23.73 kB / 0.8194 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005878/0.6254, allocations: 333.1 kB / 0.8197 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.6254, allocations: 7.938 kB / 0.8197 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.6254, allocations: 3.938 kB / 0.8197 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6254, allocations: 0 / 0.8197 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001242/0.6267, allocations: 0.9379 MB / 0.8206 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.6267, allocations: 0 / 0.8206 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002259/0.6269, allocations: 55.89 kB / 0.8207 GB, free: 13.2 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001401/0.6271, allocations: 37.05 kB / 0.8207 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.904e-05/0.6271, allocations: 8 kB / 0.8207 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009841/0.6281, allocations: 1.409 MB / 0.8221 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6281, allocations: 4.031 kB / 0.8221 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005781/0.6287, allocations: 0.5901 MB / 0.8227 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000132/0.6288, allocations: 128.7 kB / 0.8228 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/0.6289, allocations: 8 kB / 0.8228 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002194/0.6291, allocations: 23.97 kB / 0.8228 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/0.6292, allocations: 15.92 kB / 0.8228 GB, free: 10.75 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.6292, allocations: 12 kB / 0.8228 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001244/0.6293, allocations: 155 kB / 0.823 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6293, allocations: 4 kB / 0.823 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005656/0.6299, allocations: 123.9 kB / 0.8231 GB, free: 10.46 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.0001732/0.6301, allocations: 111.2 kB / 0.8232 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.6311, allocations: 0.6884 MB / 0.8239 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.6311, allocations: 0 / 0.8239 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.6315, allocations: 260 kB / 0.8241 GB, free: 9.367 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.6318, allocations: 33.11 kB / 0.8242 GB, free: 9.336 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.6325, allocations: 435.3 kB / 0.8246 GB, free: 8.867 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.6329, allocations: 0.7756 MB / 0.8253 GB, free: 8.062 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000277/0.6332, allocations: 97.97 kB / 0.8254 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.122e-05/0.6332, allocations: 23.42 kB / 0.8255 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of SimCode: time 6.51e-07/0.6332, allocations: 0 / 0.8255 GB, free: 7.945 MB / 0.5261 GB Notification: Performance of Templates: time 0.006208/0.6395, allocations: 3.144 MB / 0.8285 GB, free: 4.828 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)