Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.GridDCLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") [/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.1849/0.1856, allocations: 82.22 MB / 0.5934 GB, free: 5.992 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004121/0.1898, allocations: 2.595 MB / 0.5959 GB, free: 3.383 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002876/0.1927, allocations: 1.818 MB / 0.5977 GB, free: 1.555 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002091/0.193, allocations: 4 kB / 0.5977 GB, free: 1.551 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001847/0.1932, allocations: 35.77 kB / 0.5977 GB, free: 1.516 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000601/0.1938, allocations: 135.5 kB / 0.5978 GB, free: 1.383 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.1944, allocations: 167.5 kB / 0.598 GB, free: 1.219 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003858/0.1948, allocations: 183.6 kB / 0.5982 GB, free: 1.039 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000607/0.1954, allocations: 317 kB / 0.5985 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.1956, allocations: 95.67 kB / 0.5986 GB, free: 0.6211 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.1959, allocations: 103.6 kB / 0.5987 GB, free: 0.5195 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.321e-05/0.196, allocations: 8 kB / 0.5987 GB, free: 0.5117 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004902/0.1965, allocations: 243.6 kB / 0.5989 GB, free: 280 kB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.329e-05/0.1966, allocations: 67.81 kB / 0.599 GB, free: 212 kB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.071e-05/0.1966, allocations: 69.58 kB / 0.599 GB, free: 136 kB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.1972, allocations: 347.2 kB / 0.5994 GB, free: 15.79 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.1972, allocations: 0 / 0.5994 GB, free: 15.79 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1972, allocations: 0 / 0.5994 GB, free: 15.79 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1972, allocations: 0 / 0.5994 GB, free: 15.79 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008455/0.1981, allocations: 0.5253 MB / 0.5999 GB, free: 15.22 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1981, allocations: 8.031 kB / 0.5999 GB, free: 15.21 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008763/0.199, allocations: 131.5 kB / 0.6 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/0.1993, allocations: 259.1 kB / 0.6003 GB, free: 14.79 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.955e-05/0.1994, allocations: 16.42 kB / 0.6003 GB, free: 14.78 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.733e-05/0.1994, allocations: 20 kB / 0.6003 GB, free: 14.76 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004926/0.1999, allocations: 352.8 kB / 0.6006 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.1999, allocations: 0 / 0.6006 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.867e-05/0.2, allocations: 15.98 kB / 0.6006 GB, free: 14.38 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.231e-05/0.2, allocations: 20.42 kB / 0.6007 GB, free: 14.36 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.2004, allocations: 293.5 kB / 0.6009 GB, free: 14.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001974/0.2024, allocations: 1.536 MB / 0.6024 GB, free: 12.41 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004382/0.2029, allocations: 330.1 kB / 0.6028 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.203, allocations: 89.08 kB / 0.6028 GB, free: 11.95 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.203, allocations: 38.84 kB / 0.6029 GB, free: 11.9 MB / 462.1 MB Notification: Performance of pre-optimization done (n=16): time 1.243e-06/0.203, allocations: 0 / 0.6029 GB, free: 11.9 MB / 462.1 MB Notification: Performance of matching and sorting (n=23): time 0.002407/0.2055, allocations: 0.9723 MB / 0.6038 GB, free: 10.89 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.2055, allocations: 77.3 kB / 0.6039 GB, free: 10.8 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002121/0.2057, allocations: 217.4 kB / 0.6041 GB, free: 10.57 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.2058, allocations: 29.73 kB / 0.6041 GB, free: 10.54 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.983e-05/0.2059, allocations: 168.1 kB / 0.6043 GB, free: 10.37 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.173e-05/0.2059, allocations: 86.83 kB / 0.6044 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/0.206, allocations: 4 kB / 0.6044 GB, free: 10.28 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2061, allocations: 334.8 kB / 0.6047 GB, free: 9.945 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/0.2063, allocations: 123.9 kB / 0.6048 GB, free: 9.824 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002279/0.2065, allocations: 213.2 kB / 0.605 GB, free: 9.582 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002285/0.2068, allocations: 169.8 kB / 0.6052 GB, free: 9.418 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2068, allocations: 0 / 0.6052 GB, free: 9.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000784/0.2076, allocations: 0.4973 MB / 0.6057 GB, free: 8.902 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.2076, allocations: 12.03 kB / 0.6057 GB, free: 8.891 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2076, allocations: 4 kB / 0.6057 GB, free: 8.887 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004812/0.2081, allocations: 147.3 kB / 0.6058 GB, free: 8.73 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002355/0.2083, allocations: 55.91 kB / 0.6059 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003051/0.2114, allocations: 4.001 MB / 0.6098 GB, free: 4.359 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.2116, allocations: 20.02 kB / 0.6098 GB, free: 4.34 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.443e-05/0.2116, allocations: 12 kB / 0.6098 GB, free: 4.328 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.2118, allocations: 169.9 kB / 0.61 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.2119, allocations: 19.72 kB / 0.61 GB, free: 4.133 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008153/0.2127, allocations: 479.2 kB / 0.6105 GB, free: 3.645 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.2127, allocations: 8 kB / 0.6105 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2127, allocations: 0 / 0.6105 GB, free: 3.637 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.2127, allocations: 8.078 kB / 0.6105 GB, free: 3.629 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001461/0.2142, allocations: 0.998 MB / 0.6115 GB, free: 2.539 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.592e-06/0.2142, allocations: 4 kB / 0.6115 GB, free: 2.535 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.2144, allocations: 35.91 kB / 0.6115 GB, free: 2.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003915/0.2148, allocations: 159.5 kB / 0.6116 GB, free: 2.332 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.2148, allocations: 4 kB / 0.6116 GB, free: 2.328 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002736/0.2175, allocations: 3.969 MB / 0.6155 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/0.2175, allocations: 3.938 kB / 0.6155 GB, free: 14.04 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007929/0.2183, allocations: 0.7423 MB / 0.6163 GB, free: 13.18 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.2185, allocations: 120.9 kB / 0.6164 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.212e-05/0.2185, allocations: 12 kB / 0.6164 GB, free: 13.04 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002073/0.2187, allocations: 19.98 kB / 0.6164 GB, free: 13.02 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.768e-05/0.2188, allocations: 27.91 kB / 0.6164 GB, free: 12.99 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.2188, allocations: 15.95 kB / 0.6164 GB, free: 12.97 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001346/0.219, allocations: 156.2 kB / 0.6166 GB, free: 12.82 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.219, allocations: 0 / 0.6166 GB, free: 12.82 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0005045/0.2195, allocations: 84 kB / 0.6167 GB, free: 12.74 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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): 17 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000185/0.2197, allocations: 127.2 kB / 0.6168 GB, free: 12.61 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0008525/0.2205, allocations: 0.5712 MB / 0.6173 GB, free: 12.01 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.2206, allocations: 0 / 0.6173 GB, free: 12.01 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00046/0.221, allocations: 394.4 kB / 0.6177 GB, free: 11.6 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.2214, allocations: 31.97 kB / 0.6178 GB, free: 11.57 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000974/0.2223, allocations: 0.7412 MB / 0.6185 GB, free: 10.78 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.2227, allocations: 0.7831 MB / 0.6192 GB, free: 9.965 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0001563/0.2229, allocations: 58.25 kB / 0.6193 GB, free: 9.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.564e-05/0.2229, allocations: 19.44 kB / 0.6193 GB, free: 9.895 MB / 478.1 MB Notification: Performance of SimCode: time 2e-07/0.2229, allocations: 0 / 0.6193 GB, free: 9.895 MB / 478.1 MB Notification: Performance of Templates: time 0.007298/0.2302, allocations: 3.879 MB / 0.6231 GB, free: 6.051 MB / 478.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) Environment - environmentSimulation: