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.7541/0.7541, allocations: 132.4 MB / 139.9 MB, free: 15.4 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.001202/0.001202, allocations: 174.2 kB / 171.8 MB, free: 2.047 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.656/1.656, allocations: 170.6 MB / 374.2 MB, free: 15.78 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.001658/0.001658, allocations: 117.6 kB / 444.8 MB, free: 9.289 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.4806/0.4807, allocations: 73.39 MB / 0.6666 GB, free: 46.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.6829, allocations: 131.5 MB / 0.795 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/0.6832, allocations: 98.42 kB / 0.7951 GB, free: 5.176 MB / 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.05992/0.7432, allocations: 17.88 MB / 0.8126 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.522e-06/0.7432, allocations: 4 kB / 0.8126 GB, free: 3.266 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.581e-05/0.7432, allocations: 4 kB / 0.8126 GB, free: 3.262 MB / 0.5105 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.001242/0.7445, allocations: 0.5244 MB / 0.8131 GB, free: 2.695 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.7446, allocations: 12.03 kB / 0.8131 GB, free: 2.684 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001322/0.7459, allocations: 102.4 kB / 0.8132 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005555/0.7465, allocations: 259.7 kB / 0.8134 GB, free: 2.293 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.7465, allocations: 4 kB / 0.8135 GB, free: 2.289 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.663e-05/0.7466, allocations: 12 kB / 0.8135 GB, free: 2.277 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005866/0.7472, allocations: 236.8 kB / 0.8137 GB, free: 2.047 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007126/0.7479, allocations: 312 kB / 0.814 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.728e-05/0.7479, allocations: 3.938 kB / 0.814 GB, free: 1.723 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.356e-05/0.748, allocations: 4 kB / 0.814 GB, free: 1.719 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.567e-05/0.7481, allocations: 28.36 kB / 0.814 GB, free: 1.691 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002748/0.7508, allocations: 1.476 MB / 0.8155 GB, free: 112 kB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006106/0.7515, allocations: 322.1 kB / 0.8158 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001823/0.7517, allocations: 104.1 kB / 0.8159 GB, free: 15.65 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001371/0.7518, allocations: 85.09 kB / 0.8159 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.318e-05/0.7518, allocations: 42.55 kB / 0.816 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.7519, allocations: 0 / 0.816 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=23): time 0.001802/0.7537, allocations: 0.6708 MB / 0.8166 GB, free: 14.81 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.764e-05/0.7537, allocations: 89.22 kB / 0.8167 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.7539, allocations: 177.8 kB / 0.8169 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.754, allocations: 25.7 kB / 0.8169 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.7541, allocations: 175.9 kB / 0.8171 GB, free: 14.31 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.574e-05/0.7542, allocations: 74.91 kB / 0.8172 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.441e-05/0.7542, allocations: 0 / 0.8172 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.7543, allocations: 334.8 kB / 0.8175 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001935/0.7545, allocations: 124 kB / 0.8176 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002238/0.7548, allocations: 205.1 kB / 0.8178 GB, free: 13.55 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.7552, allocations: 188.4 kB / 0.818 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7552, allocations: 4 kB / 0.818 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001007/0.7562, allocations: 0.4931 MB / 0.8185 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.7562, allocations: 8.297 kB / 0.8185 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.187e-05/0.7563, allocations: 9.625 kB / 0.8185 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004122/0.7567, allocations: 135.3 kB / 0.8186 GB, free: 12.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002484/0.7569, allocations: 55.91 kB / 0.8187 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002993/0.7599, allocations: 3.851 MB / 0.8224 GB, free: 8.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.7602, allocations: 15.97 kB / 0.8224 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.767e-05/0.7602, allocations: 12 kB / 0.8224 GB, free: 8.473 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: idealACDCConverter1.P_n[1]:DUMMY_STATE(unit = "W" protected = true ) "Power transmitted at pin n (primary)" type: Real [2] Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.idealACDCConverter1.P_n[1]:DUMMY_DER(fixed = false ) "Power transmitted at pin n (primary)" type: Real [2] 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.0001829/0.7604, allocations: 115.9 kB / 0.8226 GB, free: 8.355 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.147e-05/0.7605, allocations: 23.72 kB / 0.8226 GB, free: 8.332 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009641/0.7614, allocations: 473.7 kB / 0.823 GB, free: 7.859 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-06/0.7615, allocations: 4 kB / 0.823 GB, free: 7.855 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.7615, allocations: 4 kB / 0.823 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.824e-06/0.7615, allocations: 3.984 kB / 0.823 GB, free: 7.848 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.7632, allocations: 0.9498 MB / 0.824 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.7632, allocations: 0 / 0.824 GB, free: 6.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001311/0.7633, allocations: 31.98 kB / 0.824 GB, free: 6.789 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003539/0.7637, allocations: 143.5 kB / 0.8241 GB, free: 6.637 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.666e-05/0.7637, allocations: 4 kB / 0.8241 GB, free: 6.633 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002868/0.7666, allocations: 3.84 MB / 0.8279 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/0.7666, allocations: 7.969 kB / 0.8279 GB, free: 2.508 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001025/0.7677, allocations: 0.7301 MB / 0.8286 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001995/0.7679, allocations: 132.7 kB / 0.8287 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.603e-05/0.7679, allocations: 0 / 0.8287 GB, free: 1.523 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002296/0.7682, allocations: 19.97 kB / 0.8288 GB, free: 1.504 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.7682, allocations: 19.94 kB / 0.8288 GB, free: 1.484 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.069e-05/0.7683, allocations: 16 kB / 0.8288 GB, free: 1.469 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001376/0.7684, allocations: 139.2 kB / 0.8289 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7684, allocations: 0 / 0.8289 GB, free: 1.332 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005777/0.769, allocations: 95.92 kB / 0.829 GB, free: 1.238 MB / 0.5261 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.0002625/0.7693, allocations: 131.1 kB / 0.8291 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000901/0.7702, allocations: 0.5227 MB / 0.8297 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7702, allocations: 0 / 0.8297 GB, free: 0.5586 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005053/0.7707, allocations: 375.3 kB / 0.83 GB, free: 176 kB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.7711, allocations: 27.39 kB / 0.83 GB, free: 152 kB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.7722, allocations: 458.1 kB / 0.8305 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.7727, allocations: 0.7959 MB / 0.8313 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001982/0.7729, allocations: 56.69 kB / 0.8313 GB, free: 14.78 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.158e-05/0.7729, allocations: 19.44 kB / 0.8313 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of SimCode: time 1.163e-06/0.7729, allocations: 0 / 0.8313 GB, free: 14.76 MB / 0.5417 GB Notification: Performance of Templates: time 0.008502/0.7814, allocations: 3.687 MB / 0.8349 GB, free: 11.12 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)