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.21/0.211, allocations: 82.21 MB / 0.5935 GB, free: 5.945 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.003514/0.2145, allocations: 2.476 MB / 0.5959 GB, free: 3.449 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002385/0.2169, allocations: 1.607 MB / 0.5975 GB, free: 1.832 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001086/0.2171, allocations: 7.938 kB / 0.5975 GB, free: 1.824 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001657/0.2172, allocations: 27.78 kB / 0.5975 GB, free: 1.797 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004302/0.2177, allocations: 143.4 kB / 0.5976 GB, free: 1.656 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004304/0.2181, allocations: 170.8 kB / 0.5978 GB, free: 1.492 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003987/0.2185, allocations: 343 kB / 0.5981 GB, free: 1.156 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007887/0.2193, allocations: 371.2 kB / 0.5985 GB, free: 0.7734 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.2195, allocations: 99.61 kB / 0.5986 GB, free: 0.6758 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003021/0.2198, allocations: 135.5 kB / 0.5987 GB, free: 0.543 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.309e-05/0.2199, allocations: 15.94 kB / 0.5987 GB, free: 0.5273 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.2202, allocations: 139.8 kB / 0.5988 GB, free: 400 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.17e-05/0.2203, allocations: 75.78 kB / 0.5989 GB, free: 324 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.514e-05/0.2203, allocations: 57.64 kB / 0.599 GB, free: 260 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003347/0.2207, allocations: 303.2 kB / 0.5993 GB, free: 15.96 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2207, allocations: 0 / 0.5993 GB, free: 15.96 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2207, allocations: 0 / 0.5993 GB, free: 15.96 MB / 462.1 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.2207, allocations: 4 kB / 0.5993 GB, free: 15.95 MB / 462.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.0008145/0.2215, allocations: 0.5027 MB / 0.5998 GB, free: 15.4 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.2216, allocations: 12.03 kB / 0.5998 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006778/0.2223, allocations: 91.61 kB / 0.5999 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003106/0.2226, allocations: 247.5 kB / 0.6001 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2226, allocations: 20.36 kB / 0.6001 GB, free: 15 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.808e-05/0.2227, allocations: 16 kB / 0.6001 GB, free: 14.98 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006273/0.2233, allocations: 378.2 kB / 0.6005 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.2233, allocations: 3.938 kB / 0.6005 GB, free: 14.58 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.2234, allocations: 11.98 kB / 0.6005 GB, free: 14.57 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/0.2234, allocations: 24.31 kB / 0.6005 GB, free: 14.54 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005889/0.224, allocations: 336.6 kB / 0.6008 GB, free: 14.21 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.2258, allocations: 1.512 MB / 0.6023 GB, free: 12.61 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006768/0.2265, allocations: 345 kB / 0.6026 GB, free: 12.26 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002676/0.2267, allocations: 157.6 kB / 0.6028 GB, free: 12.1 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00014/0.2269, allocations: 97.09 kB / 0.6029 GB, free: 11.98 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.2269, allocations: 30.56 kB / 0.6029 GB, free: 11.95 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 1.563e-06/0.2269, allocations: 0 / 0.6029 GB, free: 11.95 MB / 462.1 MB Notification: Performance of matching and sorting (n=21): time 0.001334/0.2283, allocations: 0.6212 MB / 0.6035 GB, free: 11.3 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.2283, allocations: 77.11 kB / 0.6036 GB, free: 11.2 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000215/0.2286, allocations: 209.4 kB / 0.6038 GB, free: 10.99 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.792e-05/0.2286, allocations: 25.7 kB / 0.6038 GB, free: 10.96 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.307e-05/0.2287, allocations: 163.9 kB / 0.604 GB, free: 10.8 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.142e-05/0.2288, allocations: 74.94 kB / 0.6041 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.517e-05/0.2288, allocations: 4 kB / 0.6041 GB, free: 10.72 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.2289, allocations: 326.8 kB / 0.6044 GB, free: 10.39 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.2291, allocations: 132.5 kB / 0.6045 GB, free: 10.26 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003108/0.2295, allocations: 219.5 kB / 0.6047 GB, free: 10.01 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002855/0.2298, allocations: 164.9 kB / 0.6049 GB, free: 9.852 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2298, allocations: 0 / 0.6049 GB, free: 9.852 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007433/0.2305, allocations: 446 kB / 0.6053 GB, free: 9.41 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.417e-05/0.2306, allocations: 162.5 kB / 0.6054 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.2306, allocations: 4 kB / 0.6054 GB, free: 9.207 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002287/0.2309, allocations: 48.8 kB / 0.6055 GB, free: 9.156 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.2312, allocations: 75.88 kB / 0.6056 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.2327, allocations: 1.497 MB / 0.607 GB, free: 7.445 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.2329, allocations: 31.98 kB / 0.6071 GB, free: 7.414 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.341e-05/0.2329, allocations: 19.98 kB / 0.6071 GB, free: 7.395 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.233, allocations: 4 kB / 0.6071 GB, free: 7.391 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007201/0.2337, allocations: 366 kB / 0.6074 GB, free: 7.031 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2337, allocations: 4 kB / 0.6074 GB, free: 7.027 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001354/0.2338, allocations: 44.77 kB / 0.6075 GB, free: 6.98 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002537/0.2341, allocations: 68.11 kB / 0.6075 GB, free: 6.914 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/0.2355, allocations: 1.485 MB / 0.609 GB, free: 5.285 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.2357, allocations: 39.88 kB / 0.609 GB, free: 5.246 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.2357, allocations: 11.95 kB / 0.609 GB, free: 5.234 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.0002269/0.2359, allocations: 234.1 kB / 0.6093 GB, free: 4.996 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.875e-05/0.236, allocations: 15.81 kB / 0.6093 GB, free: 4.98 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006836/0.2367, allocations: 375.9 kB / 0.6096 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2367, allocations: 0 / 0.6096 GB, free: 4.609 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.2367, allocations: 4 kB / 0.6096 GB, free: 4.605 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2367, allocations: 3.953 kB / 0.6096 GB, free: 4.602 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.2382, allocations: 0.9704 MB / 0.6106 GB, free: 3.555 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.2382, allocations: 7.938 kB / 0.6106 GB, free: 3.547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002128/0.2384, allocations: 51.89 kB / 0.6106 GB, free: 3.496 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000122/0.2385, allocations: 40.83 kB / 0.6107 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.2386, allocations: 7.984 kB / 0.6107 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.2398, allocations: 1.398 MB / 0.6121 GB, free: 1.914 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.2399, allocations: 7.969 kB / 0.6121 GB, free: 1.906 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006988/0.2406, allocations: 0.5545 MB / 0.6126 GB, free: 1.316 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.2407, allocations: 116.9 kB / 0.6127 GB, free: 1.184 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.2407, allocations: 8 kB / 0.6127 GB, free: 1.176 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.241, allocations: 28.11 kB / 0.6128 GB, free: 1.148 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.986e-05/0.2411, allocations: 35.84 kB / 0.6128 GB, free: 1.113 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.2411, allocations: 8 kB / 0.6128 GB, free: 1.105 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001728/0.2413, allocations: 155.5 kB / 0.6129 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2413, allocations: 0 / 0.6129 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0006419/0.2419, allocations: 112 kB / 0.6131 GB, free: 0.8438 MB / 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.000171/0.2421, allocations: 107.2 kB / 0.6132 GB, free: 0.7305 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.2435, allocations: 0.7473 MB / 0.6139 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.2435, allocations: 0 / 0.6139 GB, free: 15.96 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003959/0.2439, allocations: 267.2 kB / 0.6141 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.2444, allocations: 35.98 kB / 0.6142 GB, free: 15.65 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.2454, allocations: 0.6771 MB / 0.6148 GB, free: 14.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003828/0.2458, allocations: 0.7717 MB / 0.6156 GB, free: 14.12 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002515/0.246, allocations: 97.78 kB / 0.6157 GB, free: 14.03 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.022e-05/0.2461, allocations: 19.44 kB / 0.6157 GB, free: 14.01 MB / 478.1 MB Notification: Performance of SimCode: time 5.92e-07/0.2461, allocations: 0 / 0.6157 GB, free: 14.01 MB / 478.1 MB Notification: Performance of Templates: time 0.006587/0.2527, allocations: 2.935 MB / 0.6186 GB, free: 11.09 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: