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.5211/0.5242, allocations: 80.82 MB / 0.5904 GB, free: 22.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.004867/0.5291, allocations: 3.053 MB / 0.5934 GB, free: 19.74 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00296/0.5321, allocations: 1.999 MB / 0.5953 GB, free: 17.74 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001743/0.5324, allocations: 7.938 kB / 0.5954 GB, free: 17.73 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008527/0.5332, allocations: 277.7 kB / 0.5956 GB, free: 17.46 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005252/0.5337, allocations: 203.1 kB / 0.5958 GB, free: 17.26 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006479/0.5344, allocations: 248.5 kB / 0.596 GB, free: 17.02 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002838/0.5347, allocations: 319 kB / 0.5964 GB, free: 16.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003489/0.5351, allocations: 180.5 kB / 0.5965 GB, free: 16.54 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.5352, allocations: 139.4 kB / 0.5967 GB, free: 16.4 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002686/0.5355, allocations: 157.1 kB / 0.5968 GB, free: 16.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.474e-05/0.5355, allocations: 20 kB / 0.5968 GB, free: 16.23 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004761/0.536, allocations: 399.2 kB / 0.5972 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.351e-05/0.5361, allocations: 79.8 kB / 0.5973 GB, free: 15.76 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001048/0.5362, allocations: 121.5 kB / 0.5974 GB, free: 15.64 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005144/0.5367, allocations: 482.7 kB / 0.5979 GB, free: 15.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.989e-06/0.5368, allocations: 3.938 kB / 0.5979 GB, free: 15.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5368, allocations: 0 / 0.5979 GB, free: 15.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.064e-06/0.5368, allocations: 0 / 0.5979 GB, free: 15.17 MB / 446.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.0008014/0.5376, allocations: 0.5566 MB / 0.5984 GB, free: 14.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.5377, allocations: 19.97 kB / 0.5984 GB, free: 14.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008269/0.5385, allocations: 108.5 kB / 0.5985 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.5388, allocations: 260.5 kB / 0.5988 GB, free: 14.15 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.053e-05/0.5388, allocations: 16.8 kB / 0.5988 GB, free: 14.13 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.5389, allocations: 20.97 kB / 0.5988 GB, free: 14.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000486/0.5394, allocations: 360.7 kB / 0.5992 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.107e-05/0.5394, allocations: 0 / 0.5992 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.5394, allocations: 8 kB / 0.5992 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.5395, allocations: 28.41 kB / 0.5992 GB, free: 13.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000351/0.5398, allocations: 301.5 kB / 0.5995 GB, free: 13.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001614/0.5414, allocations: 1.525 MB / 0.601 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/0.5418, allocations: 330 kB / 0.6013 GB, free: 11.4 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.542, allocations: 101.7 kB / 0.6014 GB, free: 11.3 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.239e-05/0.5421, allocations: 89.08 kB / 0.6015 GB, free: 11.19 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.5421, allocations: 42.56 kB / 0.6015 GB, free: 11.14 MB / 446.1 MB Notification: Performance of pre-optimization done (n=16): time 1.232e-06/0.5421, allocations: 0 / 0.6015 GB, free: 11.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=23): time 0.002177/0.5443, allocations: 0.9644 MB / 0.6024 GB, free: 10.14 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.858e-05/0.5443, allocations: 81.14 kB / 0.6025 GB, free: 10.04 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001856/0.5445, allocations: 215.7 kB / 0.6027 GB, free: 9.824 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.5446, allocations: 29.7 kB / 0.6028 GB, free: 9.789 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.5446, allocations: 172.1 kB / 0.6029 GB, free: 9.617 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.05e-05/0.5447, allocations: 74.91 kB / 0.603 GB, free: 9.543 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.198e-05/0.5448, allocations: 65.59 kB / 0.6031 GB, free: 9.473 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.369e-05/0.5448, allocations: 330.8 kB / 0.6034 GB, free: 9.141 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.545, allocations: 131.9 kB / 0.6035 GB, free: 9.012 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.5452, allocations: 213.2 kB / 0.6037 GB, free: 8.77 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003423/0.5455, allocations: 363.2 kB / 0.604 GB, free: 8.383 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.5455, allocations: 4 kB / 0.6041 GB, free: 8.379 MB / 446.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006778/0.5462, allocations: 0.5126 MB / 0.6046 GB, free: 7.848 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.5462, allocations: 12.25 kB / 0.6046 GB, free: 7.836 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.5463, allocations: 4 kB / 0.6046 GB, free: 7.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004523/0.5467, allocations: 147.4 kB / 0.6047 GB, free: 7.676 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000243/0.547, allocations: 55.91 kB / 0.6048 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.5491, allocations: 4.203 MB / 0.6089 GB, free: 3.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.5493, allocations: 19.92 kB / 0.6089 GB, free: 3.07 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.5494, allocations: 16 kB / 0.6089 GB, free: 3.055 MB / 446.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.5495, allocations: 165.7 kB / 0.6091 GB, free: 2.883 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.5496, allocations: 19.81 kB / 0.6091 GB, free: 2.863 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.5503, allocations: 478.6 kB / 0.6095 GB, free: 2.375 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.5503, allocations: 4 kB / 0.6095 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.5503, allocations: 0 / 0.6095 GB, free: 2.371 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.5503, allocations: 4 kB / 0.6095 GB, free: 2.367 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.5516, allocations: 1.011 MB / 0.6105 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.5516, allocations: 0 / 0.6105 GB, free: 1.262 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001171/0.5517, allocations: 31.98 kB / 0.6106 GB, free: 1.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003223/0.552, allocations: 151.5 kB / 0.6107 GB, free: 1.07 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.5521, allocations: 4 kB / 0.6107 GB, free: 1.066 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002778/0.5548, allocations: 4.17 MB / 0.6148 GB, free: 12.57 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.5549, allocations: 7.938 kB / 0.6148 GB, free: 12.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000835/0.5557, allocations: 0.6216 MB / 0.6154 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.5559, allocations: 132.7 kB / 0.6155 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.613e-05/0.5559, allocations: 15.92 kB / 0.6155 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/0.5561, allocations: 15.98 kB / 0.6156 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.085e-05/0.5562, allocations: 23.97 kB / 0.6156 GB, free: 11.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-05/0.5562, allocations: 12 kB / 0.6156 GB, free: 11.67 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.000164/0.5564, allocations: 156.2 kB / 0.6157 GB, free: 11.52 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.933e-06/0.5564, allocations: 0 / 0.6157 GB, free: 11.52 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0005383/0.5569, allocations: 95.92 kB / 0.6158 GB, free: 11.42 MB / 462.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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002047/0.5571, allocations: 125.5 kB / 0.6159 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.5582, allocations: 0.5955 MB / 0.6165 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.5582, allocations: 0 / 0.6165 GB, free: 10.67 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005174/0.5587, allocations: 404.2 kB / 0.6169 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/0.5593, allocations: 53.78 kB / 0.617 GB, free: 10.2 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.5603, allocations: 0.6315 MB / 0.6176 GB, free: 9.52 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003751/0.5607, allocations: 0.7792 MB / 0.6183 GB, free: 8.715 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0001787/0.5609, allocations: 54.25 kB / 0.6184 GB, free: 8.664 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.889e-05/0.561, allocations: 19.44 kB / 0.6184 GB, free: 8.648 MB / 462.1 MB Notification: Performance of SimCode: time 3.41e-07/0.561, allocations: 8 kB / 0.6184 GB, free: 8.641 MB / 462.1 MB Notification: Performance of Templates: time 0.008545/0.5695, allocations: 4.163 MB / 0.6225 GB, free: 4.508 MB / 462.1 MB make -j1 -f Buildings_3.0.0_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (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)