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.2301/0.231, allocations: 82.22 MB / 0.5941 GB, free: 5.578 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GeneratorLoadGrid): time 0.004432/0.2355, allocations: 2.561 MB / 0.5966 GB, free: 2.996 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003386/0.239, allocations: 1.711 MB / 0.5983 GB, free: 1.273 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.2393, allocations: 4 kB / 0.5983 GB, free: 1.27 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002667/0.2396, allocations: 31.72 kB / 0.5983 GB, free: 1.238 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007409/0.2404, allocations: 175.4 kB / 0.5985 GB, free: 1.066 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008739/0.2413, allocations: 211.5 kB / 0.5987 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007133/0.242, allocations: 430.9 kB / 0.5991 GB, free: 448 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00124/0.2433, allocations: 394.9 kB / 0.5995 GB, free: 36 kB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004736/0.2438, allocations: 95.62 kB / 0.5996 GB, free: 15.94 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006149/0.2444, allocations: 147.5 kB / 0.5997 GB, free: 15.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 7.174e-05/0.2445, allocations: 8 kB / 0.5997 GB, free: 15.79 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007635/0.2452, allocations: 307.4 kB / 0.6 GB, free: 15.49 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.2454, allocations: 79.66 kB / 0.6001 GB, free: 15.41 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001857/0.2456, allocations: 125.2 kB / 0.6002 GB, free: 15.28 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009212/0.2465, allocations: 414.6 kB / 0.6006 GB, free: 14.88 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/0.2465, allocations: 0 / 0.6006 GB, free: 14.88 MB / 462.1 MB Notification: Performance of FrontEnd: time 3.456e-06/0.2465, allocations: 4 kB / 0.6006 GB, free: 14.87 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.884e-05/0.2466, allocations: 0 / 0.6006 GB, free: 14.87 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.001365/0.2479, allocations: 0.499 MB / 0.6011 GB, free: 14.32 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/0.248, allocations: 12.03 kB / 0.6011 GB, free: 14.31 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001017/0.249, allocations: 88.55 kB / 0.6012 GB, free: 14.22 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004938/0.2496, allocations: 260.7 kB / 0.6014 GB, free: 13.93 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.83e-05/0.2496, allocations: 12.75 kB / 0.6014 GB, free: 13.92 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.795e-05/0.2497, allocations: 16.38 kB / 0.6015 GB, free: 13.9 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008182/0.2505, allocations: 394.5 kB / 0.6018 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.408e-05/0.2505, allocations: 0 / 0.6018 GB, free: 13.49 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.936e-05/0.2506, allocations: 7.984 kB / 0.6018 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.949e-05/0.2506, allocations: 28.31 kB / 0.6019 GB, free: 13.45 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006893/0.2513, allocations: 332.6 kB / 0.6022 GB, free: 13.12 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002096/0.2534, allocations: 1.512 MB / 0.6037 GB, free: 11.53 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007506/0.2542, allocations: 339.5 kB / 0.604 GB, free: 11.18 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002841/0.2545, allocations: 153.6 kB / 0.6041 GB, free: 11.02 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001567/0.2547, allocations: 89.09 kB / 0.6042 GB, free: 10.92 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.2547, allocations: 34.56 kB / 0.6043 GB, free: 10.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=20): time 3.486e-06/0.2547, allocations: 8 kB / 0.6043 GB, free: 10.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=21): time 0.001571/0.2563, allocations: 0.6173 MB / 0.6049 GB, free: 10.22 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.2564, allocations: 77.11 kB / 0.6049 GB, free: 10.13 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002615/0.2567, allocations: 205.4 kB / 0.6051 GB, free: 9.922 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.2567, allocations: 33.7 kB / 0.6052 GB, free: 9.883 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001328/0.2568, allocations: 155.9 kB / 0.6053 GB, free: 9.727 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.088e-05/0.2569, allocations: 78.94 kB / 0.6054 GB, free: 9.648 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001285/0.2571, allocations: 29.7 kB / 0.6054 GB, free: 9.613 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001649/0.2572, allocations: 334.8 kB / 0.6057 GB, free: 9.277 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002764/0.2575, allocations: 128.5 kB / 0.6059 GB, free: 9.152 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003202/0.2578, allocations: 227.3 kB / 0.6061 GB, free: 8.895 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006138/0.2585, allocations: 375.7 kB / 0.6064 GB, free: 8.492 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2585, allocations: 4 kB / 0.6064 GB, free: 8.488 MB / 462.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008505/0.2593, allocations: 437.9 kB / 0.6069 GB, free: 8.051 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.2595, allocations: 163.2 kB / 0.607 GB, free: 7.852 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.2595, allocations: 15.92 kB / 0.607 GB, free: 7.836 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/0.2598, allocations: 40.86 kB / 0.6071 GB, free: 7.793 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.2601, allocations: 75.88 kB / 0.6071 GB, free: 7.719 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.2617, allocations: 1.493 MB / 0.6086 GB, free: 6.086 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/0.2619, allocations: 31.86 kB / 0.6086 GB, free: 6.055 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.815e-05/0.262, allocations: 11.98 kB / 0.6086 GB, free: 6.043 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.787e-06/0.262, allocations: 4 kB / 0.6086 GB, free: 6.039 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007407/0.2627, allocations: 377.6 kB / 0.609 GB, free: 5.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.2628, allocations: 8.031 kB / 0.609 GB, free: 5.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001424/0.2629, allocations: 40.77 kB / 0.6091 GB, free: 5.617 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002592/0.2632, allocations: 71.83 kB / 0.6091 GB, free: 5.547 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001304/0.2645, allocations: 1.481 MB / 0.6106 GB, free: 3.922 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002269/0.2647, allocations: 35.81 kB / 0.6106 GB, free: 3.887 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.2648, allocations: 12 kB / 0.6106 GB, free: 3.875 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.0003003/0.2651, allocations: 241.6 kB / 0.6108 GB, free: 3.633 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.998e-05/0.2652, allocations: 19.88 kB / 0.6109 GB, free: 3.613 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007954/0.266, allocations: 376 kB / 0.6112 GB, free: 3.242 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.266, allocations: 4 kB / 0.6112 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.266, allocations: 0 / 0.6112 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.266, allocations: 0 / 0.6112 GB, free: 3.238 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001647/0.2676, allocations: 0.9754 MB / 0.6122 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.2677, allocations: 0 / 0.6122 GB, free: 2.184 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.2679, allocations: 55.95 kB / 0.6122 GB, free: 2.129 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001406/0.2681, allocations: 40.98 kB / 0.6123 GB, free: 2.086 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.589e-05/0.2681, allocations: 11.98 kB / 0.6123 GB, free: 2.074 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001196/0.2693, allocations: 1.409 MB / 0.6137 GB, free: 0.5312 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.2693, allocations: 4.031 kB / 0.6137 GB, free: 0.5273 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008102/0.2701, allocations: 0.5467 MB / 0.6142 GB, free: 15.95 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001395/0.2703, allocations: 120.8 kB / 0.6143 GB, free: 15.81 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.607e-05/0.2703, allocations: 12 kB / 0.6143 GB, free: 15.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.2706, allocations: 23.97 kB / 0.6143 GB, free: 15.77 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.821e-05/0.2707, allocations: 23.97 kB / 0.6144 GB, free: 15.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.587e-05/0.2707, allocations: 4 kB / 0.6144 GB, free: 15.75 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001711/0.2709, allocations: 159.5 kB / 0.6145 GB, free: 15.59 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2709, allocations: 0 / 0.6145 GB, free: 15.59 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006892/0.2716, allocations: 108 kB / 0.6146 GB, free: 15.48 MB / 478.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.0001903/0.2718, allocations: 115.1 kB / 0.6147 GB, free: 15.36 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.2733, allocations: 0.7431 MB / 0.6155 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2733, allocations: 0.9375 kB / 0.6155 GB, free: 14.59 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004235/0.2737, allocations: 278.5 kB / 0.6157 GB, free: 14.31 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005523/0.2743, allocations: 31.98 kB / 0.6158 GB, free: 14.28 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2755, allocations: 0.6747 MB / 0.6164 GB, free: 13.55 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004787/0.276, allocations: 0.7794 MB / 0.6172 GB, free: 12.75 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002604/0.2763, allocations: 93.84 kB / 0.6173 GB, free: 12.66 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.005e-05/0.2764, allocations: 23.44 kB / 0.6173 GB, free: 12.63 MB / 478.1 MB Notification: Performance of SimCode: time 9.41e-07/0.2764, allocations: 4 kB / 0.6173 GB, free: 12.63 MB / 478.1 MB Notification: Performance of Templates: time 0.007573/0.284, allocations: 3.011 MB / 0.6202 GB, free: 9.633 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: