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/Modelica_StateGraph2 2.0.2/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/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") [/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.1887/0.1894, allocations: 82.22 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003693/0.1932, allocations: 2.436 MB / 0.5957 GB, free: 3.559 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.1959, allocations: 1.568 MB / 0.5973 GB, free: 1.98 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001943/0.1961, allocations: 8 kB / 0.5973 GB, free: 1.973 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.1963, allocations: 27.78 kB / 0.5973 GB, free: 1.945 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005623/0.1969, allocations: 123.6 kB / 0.5974 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006691/0.1975, allocations: 170.6 kB / 0.5976 GB, free: 1.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004451/0.198, allocations: 171.6 kB / 0.5978 GB, free: 1.492 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008165/0.1988, allocations: 371.1 kB / 0.5981 GB, free: 1.109 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002368/0.1991, allocations: 83.75 kB / 0.5982 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.1994, allocations: 107.6 kB / 0.5983 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/0.1995, allocations: 8 kB / 0.5983 GB, free: 0.9141 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003777/0.1999, allocations: 139.8 kB / 0.5984 GB, free: 0.7773 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.741e-05/0.2, allocations: 63.81 kB / 0.5985 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.176e-05/0.2001, allocations: 61.64 kB / 0.5986 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000518/0.2006, allocations: 295.3 kB / 0.5988 GB, free: 368 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2006, allocations: 3.938 kB / 0.5988 GB, free: 364 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.2006, allocations: 4 kB / 0.5988 GB, free: 360 kB / 446.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.2006, allocations: 0 / 0.5988 GB, free: 360 kB / 446.1 MB 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.001044/0.2017, allocations: 0.5096 MB / 0.5993 GB, free: 15.79 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.2017, allocations: 12.03 kB / 0.5993 GB, free: 15.78 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009089/0.2026, allocations: 99.61 kB / 0.5994 GB, free: 15.68 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004181/0.2031, allocations: 247.5 kB / 0.5997 GB, free: 15.4 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.2031, allocations: 16.38 kB / 0.5997 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.634e-05/0.2032, allocations: 19.98 kB / 0.5997 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006683/0.2039, allocations: 378.2 kB / 0.6001 GB, free: 14.97 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.114e-05/0.2039, allocations: 3.938 kB / 0.6001 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.546e-05/0.2039, allocations: 4 kB / 0.6001 GB, free: 14.96 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.063e-05/0.204, allocations: 28.31 kB / 0.6001 GB, free: 14.93 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000631/0.2046, allocations: 336.6 kB / 0.6004 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001933/0.2066, allocations: 1.512 MB / 0.6019 GB, free: 13 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007613/0.2074, allocations: 341.8 kB / 0.6022 GB, free: 12.66 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001648/0.2075, allocations: 89.09 kB / 0.6023 GB, free: 12.55 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.2076, allocations: 38.56 kB / 0.6024 GB, free: 12.5 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.2076, allocations: 7.938 kB / 0.6024 GB, free: 12.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=21): time 0.001477/0.2091, allocations: 0.6117 MB / 0.603 GB, free: 11.86 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.818e-05/0.2092, allocations: 85.11 kB / 0.603 GB, free: 11.75 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.2094, allocations: 201.4 kB / 0.6032 GB, free: 11.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.956e-05/0.2094, allocations: 33.7 kB / 0.6033 GB, free: 11.51 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.989e-05/0.2095, allocations: 152 kB / 0.6034 GB, free: 11.36 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.494e-05/0.2096, allocations: 78.86 kB / 0.6035 GB, free: 11.28 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.582e-05/0.2096, allocations: 4 kB / 0.6035 GB, free: 11.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001361/0.2098, allocations: 334.8 kB / 0.6038 GB, free: 10.94 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002446/0.21, allocations: 128.5 kB / 0.6039 GB, free: 10.82 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002958/0.2104, allocations: 219.5 kB / 0.6041 GB, free: 10.57 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.2106, allocations: 164.9 kB / 0.6043 GB, free: 10.41 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.2106, allocations: 0 / 0.6043 GB, free: 10.41 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007645/0.2114, allocations: 441.4 kB / 0.6047 GB, free: 9.969 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004489/0.2119, allocations: 1.055 MB / 0.6057 GB, free: 8.832 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/0.2119, allocations: 4 kB / 0.6058 GB, free: 8.828 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.2121, allocations: 40.81 kB / 0.6058 GB, free: 8.785 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/0.2124, allocations: 75.88 kB / 0.6059 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001411/0.2139, allocations: 1.505 MB / 0.6073 GB, free: 7.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.2141, allocations: 39.77 kB / 0.6074 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.604e-05/0.2141, allocations: 16 kB / 0.6074 GB, free: 7.012 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.923e-06/0.2141, allocations: 8.062 kB / 0.6074 GB, free: 7.004 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006886/0.2148, allocations: 366 kB / 0.6077 GB, free: 6.645 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2149, allocations: 7.938 kB / 0.6078 GB, free: 6.637 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001437/0.215, allocations: 41.16 kB / 0.6078 GB, free: 6.594 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000272/0.2153, allocations: 71.81 kB / 0.6079 GB, free: 6.523 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.2167, allocations: 1.493 MB / 0.6093 GB, free: 4.887 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001789/0.2169, allocations: 31.81 kB / 0.6093 GB, free: 4.855 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.217, allocations: 11.98 kB / 0.6094 GB, free: 4.844 MB / 462.1 MB 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.0002171/0.2172, allocations: 241 kB / 0.6096 GB, free: 4.598 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.594e-05/0.2173, allocations: 15.81 kB / 0.6096 GB, free: 4.582 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006755/0.2179, allocations: 375.9 kB / 0.61 GB, free: 4.211 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.218, allocations: 4 kB / 0.61 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.218, allocations: 0 / 0.61 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.218, allocations: 0 / 0.61 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.2195, allocations: 0.9754 MB / 0.6109 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2195, allocations: 64 / 0.6109 GB, free: 3.152 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.2197, allocations: 60.17 kB / 0.611 GB, free: 3.094 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.2198, allocations: 36.83 kB / 0.611 GB, free: 3.055 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.2199, allocations: 8 kB / 0.611 GB, free: 3.047 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001112/0.221, allocations: 1.421 MB / 0.6124 GB, free: 1.492 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.221, allocations: 4 kB / 0.6124 GB, free: 1.488 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007532/0.2218, allocations: 0.6326 MB / 0.613 GB, free: 0.7773 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001317/0.2219, allocations: 120.9 kB / 0.6131 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.2219, allocations: 4 kB / 0.6131 GB, free: 0.6367 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.2222, allocations: 27.97 kB / 0.6132 GB, free: 0.6094 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.2222, allocations: 27.88 kB / 0.6132 GB, free: 0.582 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/0.2223, allocations: 4 kB / 0.6132 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001387/0.2224, allocations: 163.5 kB / 0.6134 GB, free: 428 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2224, allocations: 0 / 0.6134 GB, free: 428 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005609/0.223, allocations: 104 kB / 0.6135 GB, free: 324 kB / 462.1 MB 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.0002108/0.2232, allocations: 107.2 kB / 0.6136 GB, free: 208 kB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.2244, allocations: 0.7427 MB / 0.6143 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.2244, allocations: 0 / 0.6143 GB, free: 15.44 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.2248, allocations: 271.9 kB / 0.6145 GB, free: 15.16 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.2252, allocations: 35.91 kB / 0.6146 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.2262, allocations: 0.6771 MB / 0.6152 GB, free: 14.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.2266, allocations: 0.7756 MB / 0.616 GB, free: 13.59 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002274/0.2269, allocations: 93.86 kB / 0.6161 GB, free: 13.5 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.071e-05/0.227, allocations: 23.42 kB / 0.6161 GB, free: 13.48 MB / 478.1 MB Notification: Performance of SimCode: time 4.31e-07/0.227, allocations: 0 / 0.6161 GB, free: 13.48 MB / 478.1 MB Notification: Performance of Templates: time 0.006424/0.2334, allocations: 2.94 MB / 0.619 GB, free: 10.55 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: