Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.685/1.685, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009538/0.0009538, allocations: 180.3 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.2 MB / 0.6626 GB, free: 4.289 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007936/0.0007936, allocations: 91.17 kB / 0.7808 GB, free: 50.17 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.0004279, allocations: 15.98 kB / 0.9088 GB, free: 2.844 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6666/0.6671, allocations: 120.3 MB / 1.026 GB, free: 56.02 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2214/0.8886, allocations: 171.9 MB / 1.194 GB, free: 5.887 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003599/0.889, allocations: 91.95 kB / 1.194 GB, free: 5.797 MB / 0.7605 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:42:5-42: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.05144/0.9405, allocations: 20.27 MB / 1.214 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9405, allocations: 0 / 1.214 GB, free: 1.727 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.504e-05/0.9406, allocations: 7.984 kB / 1.214 GB, free: 1.719 MB / 0.7761 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.00111/0.9417, allocations: 0.5389 MB / 1.215 GB, free: 1.129 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.9417, allocations: 8.031 kB / 1.215 GB, free: 1.121 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009405/0.9427, allocations: 108.5 kB / 1.215 GB, free: 1.016 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004809/0.9432, allocations: 264.7 kB / 1.215 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.267e-05/0.9432, allocations: 12.81 kB / 1.215 GB, free: 0.707 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.406e-05/0.9433, allocations: 16.38 kB / 1.215 GB, free: 0.6914 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006345/0.9439, allocations: 349.7 kB / 1.215 GB, free: 336 kB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.944, allocations: 4.188 kB / 1.215 GB, free: 332 kB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.944, allocations: 7.938 kB / 1.215 GB, free: 324 kB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.901e-05/0.944, allocations: 24.42 kB / 1.215 GB, free: 300 kB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005356/0.9446, allocations: 301.4 kB / 1.216 GB, free: 0 / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.9471, allocations: 1.747 MB / 1.217 GB, free: 14.09 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005047/0.9476, allocations: 323.3 kB / 1.218 GB, free: 13.74 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.9478, allocations: 97.67 kB / 1.218 GB, free: 13.64 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001211/0.9479, allocations: 89.09 kB / 1.218 GB, free: 13.53 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.9479, allocations: 42.5 kB / 1.218 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=16): time 2.394e-06/0.948, allocations: 3.938 kB / 1.218 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of matching and sorting (n=23): time 0.00274/0.9507, allocations: 0.9678 MB / 1.219 GB, free: 12.48 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/0.9508, allocations: 81.11 kB / 1.219 GB, free: 12.38 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.951, allocations: 220.2 kB / 1.219 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.9511, allocations: 29.7 kB / 1.219 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001185/0.9512, allocations: 176 kB / 1.219 GB, free: 11.93 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.107e-05/0.9513, allocations: 83.97 kB / 1.219 GB, free: 11.85 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.56e-05/0.9513, allocations: 8.031 kB / 1.219 GB, free: 11.84 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.9515, allocations: 330.8 kB / 1.22 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001962/0.9517, allocations: 134 kB / 1.22 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000248/0.9519, allocations: 202.2 kB / 1.22 GB, free: 11.15 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000469/0.9524, allocations: 371.1 kB / 1.22 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.9524, allocations: 0 / 1.22 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009442/0.9534, allocations: 0.5055 MB / 1.221 GB, free: 10.24 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.027e-05/0.9534, allocations: 8 kB / 1.221 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.9534, allocations: 2.25 kB / 1.221 GB, free: 10.23 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005373/0.954, allocations: 157.5 kB / 1.221 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.9543, allocations: 55.91 kB / 1.221 GB, free: 10.01 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00313/0.9574, allocations: 3.96 MB / 1.225 GB, free: 5.738 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.9576, allocations: 23.89 kB / 1.225 GB, free: 5.715 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.939e-05/0.9577, allocations: 15.98 kB / 1.225 GB, free: 5.699 MB / 0.7917 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 () * 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.0002093/0.9579, allocations: 162.8 kB / 1.225 GB, free: 5.531 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.491e-05/0.958, allocations: 19.81 kB / 1.225 GB, free: 5.512 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008776/0.9589, allocations: 474 kB / 1.226 GB, free: 5.039 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/0.9589, allocations: 4 kB / 1.226 GB, free: 5.035 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.9589, allocations: 0 / 1.226 GB, free: 5.035 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.217e-06/0.9589, allocations: 0 / 1.226 GB, free: 5.035 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001585/0.9605, allocations: 1.015 MB / 1.227 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.9605, allocations: 0 / 1.227 GB, free: 3.93 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001318/0.9606, allocations: 36.23 kB / 1.227 GB, free: 3.895 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004687/0.9611, allocations: 151.9 kB / 1.227 GB, free: 3.734 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/0.9612, allocations: 8 kB / 1.227 GB, free: 3.727 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003135/0.9643, allocations: 3.945 MB / 1.231 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.9643, allocations: 3.938 kB / 1.231 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009298/0.9653, allocations: 0.6218 MB / 1.231 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.9655, allocations: 128.8 kB / 1.231 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.804e-05/0.9655, allocations: 11.94 kB / 1.231 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.9658, allocations: 19.98 kB / 1.231 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.9658, allocations: 23.91 kB / 1.231 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.218e-05/0.9659, allocations: 12.75 kB / 1.231 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001824/0.966, allocations: 156.2 kB / 1.232 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9661, allocations: 0 / 1.232 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000598/0.9667, allocations: 103.9 kB / 1.232 GB, free: 14.32 MB / 0.8073 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 () * 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.0002994/0.967, allocations: 147.6 kB / 1.232 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001014/0.968, allocations: 0.5498 MB / 1.232 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.968, allocations: 4.062 kB / 1.232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000537/0.9686, allocations: 407.6 kB / 1.233 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.9691, allocations: 46.64 kB / 1.233 GB, free: 13.13 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.9704, allocations: 0.7315 MB / 1.233 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004243/0.9708, allocations: 0.783 MB / 1.234 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002019/0.971, allocations: 55.88 kB / 1.234 GB, free: 11.49 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.115e-05/0.9711, allocations: 23.44 kB / 1.234 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of SimCode: time 5.92e-07/0.9711, allocations: 0 / 1.234 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of Templates: time 0.009417/0.9805, allocations: 3.893 MB / 1.238 GB, free: 7.672 MB / 0.8073 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1)