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.1929/0.1949, allocations: 80.83 MB / 0.5897 GB, free: 7.121 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004533/0.1995, allocations: 2.912 MB / 0.5925 GB, free: 4.184 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002515/0.202, allocations: 1.754 MB / 0.5942 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.108e-05/0.2021, allocations: 0 / 0.5942 GB, free: 2.418 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007492/0.2029, allocations: 215.3 kB / 0.5944 GB, free: 2.207 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003784/0.2033, allocations: 179.3 kB / 0.5946 GB, free: 2.031 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.2037, allocations: 207.5 kB / 0.5948 GB, free: 1.828 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.2041, allocations: 434.8 kB / 0.5952 GB, free: 1.402 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003526/0.2045, allocations: 178.4 kB / 0.5954 GB, free: 1.227 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.2047, allocations: 111.5 kB / 0.5955 GB, free: 1.117 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002633/0.2049, allocations: 151.5 kB / 0.5956 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.211e-05/0.205, allocations: 12 kB / 0.5957 GB, free: 0.957 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.2054, allocations: 315.3 kB / 0.596 GB, free: 0.6484 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.857e-05/0.2055, allocations: 71.8 kB / 0.596 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.2056, allocations: 111.4 kB / 0.5961 GB, free: 480 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000477/0.2061, allocations: 414.7 kB / 0.5965 GB, free: 64 kB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.2061, allocations: 4 kB / 0.5965 GB, free: 60 kB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2061, allocations: 0 / 0.5965 GB, free: 60 kB / 446.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.2062, allocations: 0 / 0.5965 GB, free: 60 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.001003/0.2072, allocations: 0.5413 MB / 0.5971 GB, free: 15.47 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.2072, allocations: 8.031 kB / 0.5971 GB, free: 15.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007057/0.2079, allocations: 92.55 kB / 0.5972 GB, free: 15.37 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002903/0.2082, allocations: 256.7 kB / 0.5974 GB, free: 15.08 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.2082, allocations: 20.75 kB / 0.5974 GB, free: 15.06 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.2083, allocations: 20.38 kB / 0.5974 GB, free: 15.04 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.2089, allocations: 378.5 kB / 0.5978 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.617e-05/0.2089, allocations: 4 kB / 0.5978 GB, free: 14.64 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.2089, allocations: 8 kB / 0.5978 GB, free: 14.63 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-05/0.209, allocations: 28.25 kB / 0.5978 GB, free: 14.61 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005875/0.2096, allocations: 320.6 kB / 0.5981 GB, free: 14.29 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001737/0.2113, allocations: 1.516 MB / 0.5996 GB, free: 12.69 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006702/0.212, allocations: 329.1 kB / 0.5999 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002645/0.2123, allocations: 153.6 kB / 0.6001 GB, free: 12.2 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001348/0.2124, allocations: 85.11 kB / 0.6002 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.2125, allocations: 38.56 kB / 0.6002 GB, free: 12.05 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.2125, allocations: 0 / 0.6002 GB, free: 12.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=21): time 0.00133/0.2138, allocations: 0.6016 MB / 0.6008 GB, free: 11.42 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.2139, allocations: 81.11 kB / 0.6009 GB, free: 11.32 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001876/0.2141, allocations: 209.6 kB / 0.6011 GB, free: 11.11 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.2141, allocations: 29.7 kB / 0.6011 GB, free: 11.07 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.676e-05/0.2142, allocations: 155.9 kB / 0.6012 GB, free: 10.92 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.226e-05/0.2142, allocations: 82.92 kB / 0.6013 GB, free: 10.84 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.2143, allocations: 49.98 kB / 0.6014 GB, free: 10.78 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.2145, allocations: 338.8 kB / 0.6017 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.2147, allocations: 133.9 kB / 0.6018 GB, free: 10.31 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.215, allocations: 211.3 kB / 0.602 GB, free: 10.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005437/0.2156, allocations: 384.5 kB / 0.6024 GB, free: 9.656 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2156, allocations: 3.938 kB / 0.6024 GB, free: 9.652 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007499/0.2163, allocations: 426 kB / 0.6028 GB, free: 9.227 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.2164, allocations: 8 kB / 0.6028 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.2164, allocations: 4 kB / 0.6028 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002119/0.2166, allocations: 44.75 kB / 0.6029 GB, free: 9.168 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003091/0.2169, allocations: 67.89 kB / 0.6029 GB, free: 9.102 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001372/0.2183, allocations: 1.489 MB / 0.6044 GB, free: 7.473 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/0.2185, allocations: 35.84 kB / 0.6044 GB, free: 7.438 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.516e-05/0.2186, allocations: 12.06 kB / 0.6044 GB, free: 7.426 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003195/0.2189, allocations: 245.1 kB / 0.6047 GB, free: 7.184 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002809/0.2192, allocations: 211.1 kB / 0.6049 GB, free: 6.941 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005131/0.2197, allocations: 354.8 kB / 0.6052 GB, free: 6.555 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.2197, allocations: 0 / 0.6052 GB, free: 6.555 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0007258/0.2204, allocations: 409.8 kB / 0.6056 GB, free: 6.145 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.687e-06/0.2205, allocations: 4 kB / 0.6056 GB, free: 6.141 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.2205, allocations: 4 kB / 0.6056 GB, free: 6.137 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.2206, allocations: 45.19 kB / 0.6056 GB, free: 6.09 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.2209, allocations: 67.89 kB / 0.6057 GB, free: 6.023 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001211/0.2221, allocations: 1.493 MB / 0.6072 GB, free: 4.391 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000184/0.2223, allocations: 23.92 kB / 0.6072 GB, free: 4.367 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.2224, allocations: 8 kB / 0.6072 GB, free: 4.359 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001245/0.2225, allocations: 200.1 kB / 0.6074 GB, free: 4.156 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.674e-05/0.2226, allocations: 23.72 kB / 0.6074 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006872/0.2233, allocations: 362.7 kB / 0.6077 GB, free: 3.77 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.2233, allocations: 4 kB / 0.6078 GB, free: 3.766 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.2233, allocations: 3.938 kB / 0.6078 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.2233, allocations: 0 / 0.6078 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.2247, allocations: 0.9638 MB / 0.6087 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.888e-06/0.2248, allocations: 0 / 0.6087 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002358/0.225, allocations: 59.83 kB / 0.6088 GB, free: 2.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001138/0.2251, allocations: 41.05 kB / 0.6088 GB, free: 2.617 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.2252, allocations: 8 kB / 0.6088 GB, free: 2.609 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001116/0.2263, allocations: 1.402 MB / 0.6102 GB, free: 1.078 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/0.2263, allocations: 4 kB / 0.6102 GB, free: 1.074 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007067/0.227, allocations: 0.5469 MB / 0.6107 GB, free: 500 kB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001242/0.2271, allocations: 120.9 kB / 0.6108 GB, free: 360 kB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.664e-05/0.2272, allocations: 11.91 kB / 0.6108 GB, free: 348 kB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002224/0.2274, allocations: 19.97 kB / 0.6109 GB, free: 328 kB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.2275, allocations: 23.97 kB / 0.6109 GB, free: 304 kB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.71e-05/0.2275, allocations: 8 kB / 0.6109 GB, free: 296 kB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.2277, allocations: 159.4 kB / 0.611 GB, free: 136 kB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2277, allocations: 0 / 0.611 GB, free: 136 kB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005454/0.2282, allocations: 107.9 kB / 0.6111 GB, free: 28 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002576/0.2285, allocations: 119.1 kB / 0.6113 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001215/0.2297, allocations: 0.729 MB / 0.612 GB, free: 15.15 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.2297, allocations: 4.25 kB / 0.612 GB, free: 15.14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003722/0.2301, allocations: 262.5 kB / 0.6122 GB, free: 14.88 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004641/0.2306, allocations: 37.19 kB / 0.6123 GB, free: 14.84 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009298/0.2315, allocations: 0.6496 MB / 0.6129 GB, free: 14.14 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004098/0.2319, allocations: 0.7756 MB / 0.6136 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002373/0.2322, allocations: 89.86 kB / 0.6137 GB, free: 13.25 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.451e-05/0.2323, allocations: 23.42 kB / 0.6138 GB, free: 13.23 MB / 478.1 MB Notification: Performance of SimCode: time 2e-07/0.2323, allocations: 4 kB / 0.6138 GB, free: 13.23 MB / 478.1 MB Notification: Performance of Templates: time 0.00667/0.239, allocations: 3.088 MB / 0.6168 GB, free: 10.16 MB / 478.1 MB 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)