Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.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.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource") [/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.1776/0.1784, allocations: 82.22 MB / 0.5941 GB, free: 5.562 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource): time 0.003841/0.1823, allocations: 2.705 MB / 0.5968 GB, free: 2.836 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003307/0.1856, allocations: 1.797 MB / 0.5985 GB, free: 1.027 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002541/0.186, allocations: 4 kB / 0.5985 GB, free: 1.023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002363/0.1862, allocations: 35.7 kB / 0.5986 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007191/0.1869, allocations: 191.2 kB / 0.5987 GB, free: 0.8008 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007614/0.1877, allocations: 238.6 kB / 0.599 GB, free: 0.5703 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000606/0.1884, allocations: 490.7 kB / 0.5994 GB, free: 92 kB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009663/0.1893, allocations: 426.7 kB / 0.5998 GB, free: 15.66 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002698/0.1896, allocations: 123.5 kB / 0.6 GB, free: 15.54 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004151/0.1901, allocations: 179.3 kB / 0.6001 GB, free: 15.36 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.53e-05/0.1901, allocations: 15.94 kB / 0.6001 GB, free: 15.34 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006034/0.1907, allocations: 303.4 kB / 0.6004 GB, free: 15.05 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.1909, allocations: 91.7 kB / 0.6005 GB, free: 14.96 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.191, allocations: 145 kB / 0.6007 GB, free: 14.81 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005596/0.1916, allocations: 462.4 kB / 0.6011 GB, free: 14.36 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1916, allocations: 0 / 0.6011 GB, free: 14.36 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.654e-06/0.1916, allocations: 0 / 0.6011 GB, free: 14.36 MB / 462.1 MB Notification: Performance of Transformations before backend: time 6.342e-06/0.1917, allocations: 0 / 0.6011 GB, free: 14.36 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001376/0.193, allocations: 0.6059 MB / 0.6017 GB, free: 13.7 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.1931, allocations: 8.031 kB / 0.6017 GB, free: 13.69 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007751/0.1939, allocations: 96.47 kB / 0.6018 GB, free: 13.59 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000403/0.1943, allocations: 283.9 kB / 0.6021 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.834e-05/0.1943, allocations: 12.81 kB / 0.6021 GB, free: 13.27 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.19e-05/0.1944, allocations: 24.38 kB / 0.6021 GB, free: 13.24 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008583/0.1953, allocations: 430.9 kB / 0.6025 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.1953, allocations: 0 / 0.6025 GB, free: 12.79 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.91e-05/0.1953, allocations: 11.98 kB / 0.6025 GB, free: 12.78 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/0.1954, allocations: 28.36 kB / 0.6025 GB, free: 12.75 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009218/0.1963, allocations: 408.7 kB / 0.6029 GB, free: 12.35 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.1981, allocations: 1.41 MB / 0.6043 GB, free: 10.86 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001242/0.1994, allocations: 488.9 kB / 0.6048 GB, free: 10.37 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000499/0.1999, allocations: 210.2 kB / 0.605 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002222/0.2001, allocations: 93.03 kB / 0.6051 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006165/0.2007, allocations: 280.1 kB / 0.6053 GB, free: 9.758 MB / 462.1 MB Notification: Performance of pre-optimization done (n=27): time 3.687e-06/0.2008, allocations: 0 / 0.6053 GB, free: 9.758 MB / 462.1 MB Notification: Performance of matching and sorting (n=28): time 0.002043/0.2028, allocations: 0.7966 MB / 0.6061 GB, free: 8.934 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.752e-05/0.2029, allocations: 89.05 kB / 0.6062 GB, free: 8.828 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002276/0.2031, allocations: 217 kB / 0.6064 GB, free: 8.605 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.033e-05/0.2032, allocations: 33.7 kB / 0.6064 GB, free: 8.566 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001251/0.2033, allocations: 168.3 kB / 0.6066 GB, free: 8.398 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.312e-05/0.2034, allocations: 90.66 kB / 0.6067 GB, free: 8.309 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-05/0.2034, allocations: 33.7 kB / 0.6067 GB, free: 8.27 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.2036, allocations: 334.8 kB / 0.607 GB, free: 7.934 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004342/0.204, allocations: 184.2 kB / 0.6072 GB, free: 7.754 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.2045, allocations: 262.3 kB / 0.6075 GB, free: 7.469 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008914/0.2054, allocations: 478.4 kB / 0.6079 GB, free: 6.965 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.2054, allocations: 4 kB / 0.6079 GB, free: 6.961 MB / 462.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001221/0.2066, allocations: 0.5751 MB / 0.6085 GB, free: 6.371 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001468/0.2068, allocations: 179.3 kB / 0.6087 GB, free: 6.156 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.2068, allocations: 4 kB / 0.6087 GB, free: 6.152 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000271/0.2071, allocations: 44.75 kB / 0.6087 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004128/0.2075, allocations: 87.88 kB / 0.6088 GB, free: 6.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00161/0.2091, allocations: 1.501 MB / 0.6103 GB, free: 4.375 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.2095, allocations: 51.8 kB / 0.6103 GB, free: 4.324 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/0.2096, allocations: 15.98 kB / 0.6103 GB, free: 4.309 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.2096, allocations: 6.188 kB / 0.6103 GB, free: 4.305 MB / 462.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001083/0.2107, allocations: 0.5107 MB / 0.6108 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.237e-06/0.2107, allocations: 0 / 0.6108 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001347/0.2109, allocations: 36.83 kB / 0.6109 GB, free: 3.746 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003612/0.2112, allocations: 96.02 kB / 0.6109 GB, free: 3.652 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001203/0.2124, allocations: 1.481 MB / 0.6124 GB, free: 2.035 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003368/0.2128, allocations: 47.84 kB / 0.6124 GB, free: 1.988 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.2128, allocations: 15.98 kB / 0.6125 GB, free: 1.973 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 (load.count,$PRE.load.count,load.T_start,$PRE.load.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * 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.0002845/0.2131, allocations: 237.6 kB / 0.6127 GB, free: 1.73 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.121e-05/0.2132, allocations: 31.72 kB / 0.6127 GB, free: 1.699 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001152/0.2143, allocations: 493 kB / 0.6132 GB, free: 1.211 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2144, allocations: 4 kB / 0.6132 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.2144, allocations: 0 / 0.6132 GB, free: 1.207 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.2144, allocations: 15.92 kB / 0.6132 GB, free: 1.191 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008227/0.2152, allocations: 0.5701 MB / 0.6138 GB, free: 0.5586 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-06/0.2152, allocations: 3.984 kB / 0.6138 GB, free: 0.5547 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003888/0.2156, allocations: 79.86 kB / 0.6138 GB, free: 488 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001713/0.2158, allocations: 40.92 kB / 0.6139 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.104e-05/0.2159, allocations: 8 kB / 0.6139 GB, free: 436 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/0.2171, allocations: 1.409 MB / 0.6153 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.2172, allocations: 0 / 0.6153 GB, free: 14.88 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.2183, allocations: 0.5692 MB / 0.6158 GB, free: 14.28 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.2185, allocations: 140.7 kB / 0.6159 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.2185, allocations: 4 kB / 0.616 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003109/0.2188, allocations: 39.95 kB / 0.616 GB, free: 14.08 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.219, allocations: 39.95 kB / 0.616 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.219, allocations: 4 kB / 0.616 GB, free: 14.04 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001932/0.2192, allocations: 180.5 kB / 0.6162 GB, free: 13.86 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.21e-07/0.2192, allocations: 0 / 0.6162 GB, free: 13.86 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0006922/0.2199, allocations: 120 kB / 0.6163 GB, free: 13.75 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,load.T_start,load.count) * Number of discrete states: 1 (load.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000192/0.2201, allocations: 119.1 kB / 0.6164 GB, free: 13.62 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.2222, allocations: 1.016 MB / 0.6174 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.2222, allocations: 0 / 0.6174 GB, free: 12.55 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000659/0.2229, allocations: 346.7 kB / 0.6178 GB, free: 12.2 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000516/0.2234, allocations: 44.41 kB / 0.6178 GB, free: 12.16 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001762/0.2252, allocations: 0.8321 MB / 0.6186 GB, free: 11.29 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.2256, allocations: 0.78 MB / 0.6194 GB, free: 10.48 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0003285/0.2259, allocations: 110.2 kB / 0.6195 GB, free: 10.38 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.226, allocations: 27.42 kB / 0.6195 GB, free: 10.35 MB / 478.1 MB Notification: Performance of SimCode: time 2.455e-06/0.226, allocations: 0 / 0.6195 GB, free: 10.35 MB / 478.1 MB Notification: Performance of Templates: time 0.008933/0.235, allocations: 4.126 MB / 0.6235 GB, free: 6.273 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Sources.Examples.VariablePowerSource.pipe 2>&1) Environment - environmentSimulation: