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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.7077/0.7077, allocations: 132.3 MB / 144.9 MB, free: 10.69 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001125/0.001125, allocations: 171.7 kB / 176.9 MB, free: 2.215 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.263/1.263, allocations: 170.5 MB / 379.3 MB, free: 11.93 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001489/0.001489, allocations: 107.4 kB / 450 MB, free: 5.852 MB / 346.7 MB [/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.4489/0.449, allocations: 73.38 MB / 0.6736 GB, free: 47.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1504/0.5994, allocations: 132.2 MB / 0.8027 GB, free: 480 kB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/0.5997, allocations: 86.48 kB / 0.8027 GB, free: 396 kB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:41:5-41:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04212/0.6419, allocations: 17.95 MB / 0.8203 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/0.6419, allocations: 4 kB / 0.8203 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.726e-05/0.6419, allocations: 7.938 kB / 0.8203 GB, free: 14.37 MB / 0.5261 GB 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.0007922/0.6427, allocations: 0.5159 MB / 0.8208 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.798e-05/0.6428, allocations: 8.031 kB / 0.8208 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008063/0.6436, allocations: 110.3 kB / 0.8209 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004174/0.644, allocations: 270.5 kB / 0.8212 GB, free: 13.39 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.6441, allocations: 16.38 kB / 0.8212 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.082e-05/0.6441, allocations: 16 kB / 0.8212 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005473/0.6447, allocations: 337.2 kB / 0.8215 GB, free: 13.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.373e-05/0.6447, allocations: 8 kB / 0.8215 GB, free: 13.01 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.6447, allocations: 15.59 kB / 0.8215 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.6448, allocations: 20.42 kB / 0.8216 GB, free: 12.98 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004634/0.6452, allocations: 285.6 kB / 0.8218 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002014/0.6473, allocations: 1.531 MB / 0.8233 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004506/0.6477, allocations: 326.2 kB / 0.8236 GB, free: 10.69 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00016/0.6479, allocations: 109.7 kB / 0.8237 GB, free: 10.58 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.648, allocations: 85.11 kB / 0.8238 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/0.648, allocations: 34.55 kB / 0.8239 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.866e-06/0.6481, allocations: 0 / 0.8239 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.002175/0.6502, allocations: 0.8138 MB / 0.8246 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.6503, allocations: 81.25 kB / 0.8247 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001987/0.6505, allocations: 195.6 kB / 0.8249 GB, free: 9.309 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 3.004e-05/0.6505, allocations: 37.73 kB / 0.8249 GB, free: 9.266 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.6506, allocations: 167.9 kB / 0.8251 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 5.478e-05/0.6507, allocations: 70.83 kB / 0.8252 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.652e-05/0.6507, allocations: 12 kB / 0.8252 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6509, allocations: 330.8 kB / 0.8255 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001748/0.6511, allocations: 124 kB / 0.8256 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.6513, allocations: 209.2 kB / 0.8258 GB, free: 8.324 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002252/0.6515, allocations: 162.7 kB / 0.826 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.6515, allocations: 0 / 0.826 GB, free: 8.168 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008196/0.6524, allocations: 0.5118 MB / 0.8265 GB, free: 7.641 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6524, allocations: 8 kB / 0.8265 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6524, allocations: 0 / 0.8265 GB, free: 7.633 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004936/0.6529, allocations: 147.3 kB / 0.8266 GB, free: 7.477 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000237/0.6532, allocations: 64 kB / 0.8267 GB, free: 7.414 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002834/0.656, allocations: 3.95 MB / 0.8305 GB, free: 3.145 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001808/0.6562, allocations: 19.89 kB / 0.8306 GB, free: 3.125 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.385e-05/0.6562, allocations: 19.98 kB / 0.8306 GB, free: 3.105 MB / 0.5261 GB 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 () * 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.0001022/0.6563, allocations: 125 kB / 0.8307 GB, free: 2.977 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.266e-05/0.6564, allocations: 23.77 kB / 0.8307 GB, free: 2.953 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008458/0.6573, allocations: 468.3 kB / 0.8312 GB, free: 2.477 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.6573, allocations: 7.938 kB / 0.8312 GB, free: 2.469 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.6573, allocations: 3.938 kB / 0.8312 GB, free: 2.465 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.6573, allocations: 3.953 kB / 0.8312 GB, free: 2.461 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.6588, allocations: 0.9964 MB / 0.8322 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.6588, allocations: 0 / 0.8322 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.659, allocations: 39.92 kB / 0.8322 GB, free: 1.336 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004001/0.6594, allocations: 143.6 kB / 0.8323 GB, free: 1.184 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.6594, allocations: 8 kB / 0.8323 GB, free: 1.176 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002762/0.6622, allocations: 3.938 MB / 0.8362 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6622, allocations: 4 kB / 0.8362 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008269/0.663, allocations: 0.723 MB / 0.8369 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001516/0.6632, allocations: 132.7 kB / 0.837 GB, free: 11.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.082e-05/0.6632, allocations: 15.81 kB / 0.837 GB, free: 11.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.6635, allocations: 15.94 kB / 0.837 GB, free: 11.91 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.487e-05/0.6635, allocations: 31.91 kB / 0.8371 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.6635, allocations: 12 kB / 0.8371 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001497/0.6637, allocations: 149.6 kB / 0.8372 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6637, allocations: 0 / 0.8372 GB, free: 11.72 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005106/0.6642, allocations: 99.92 kB / 0.8373 GB, free: 11.62 MB / 0.5417 GB 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 () * 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.00023/0.6645, allocations: 143.1 kB / 0.8375 GB, free: 11.47 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008202/0.6653, allocations: 0.5522 MB / 0.838 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.065e-06/0.6653, allocations: 0 / 0.838 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.6658, allocations: 398.2 kB / 0.8384 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003364/0.6662, allocations: 41.64 kB / 0.8384 GB, free: 10.44 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008604/0.667, allocations: 474.1 kB / 0.8389 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.6675, allocations: 0.791 MB / 0.8396 GB, free: 9.113 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001695/0.6677, allocations: 58.97 kB / 0.8397 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.395e-05/0.6677, allocations: 23.42 kB / 0.8397 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of SimCode: time 4.41e-07/0.6677, allocations: 0 / 0.8397 GB, free: 9.035 MB / 0.5417 GB Notification: Performance of Templates: time 0.007401/0.6751, allocations: 3.861 MB / 0.8435 GB, free: 5.211 MB / 0.5417 GB 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)