Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.34/1.34, allocations: 289.8 MB / 297.1 MB, free: 6.684 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009376/0.0009376, allocations: 177.3 kB / 366.3 MB, free: 1.988 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9882/0.9882, allocations: 205.2 MB / 0.6256 GB, free: 5.832 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007876/0.0007875, allocations: 94.62 kB / 0.7396 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.993e-06/7.003e-06, allocations: 4 kB / 0.859 GB, free: 13.35 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3766, allocations: 116.3 MB / 0.9726 GB, free: 68.67 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1533/0.5299, allocations: 169.2 MB / 1.138 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001883/0.5301, allocations: 84.83 kB / 1.138 GB, free: 11.12 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/DC/Conversion/DCDCConverter.mo:24:3-24:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_n.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/DC/Conversion/DCDCConverter.mo:25:3-25:46:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal_p.theta);. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd: time 0.03495/0.5651, allocations: 16.13 MB / 1.154 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.395e-05/0.5651, allocations: 8 kB / 1.154 GB, free: 10.82 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.0007142/0.5658, allocations: 0.5411 MB / 1.154 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.5659, allocations: 8.031 kB / 1.154 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007733/0.5666, allocations: 119.5 kB / 1.154 GB, free: 10.11 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.567, allocations: 275.1 kB / 1.155 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.685e-05/0.567, allocations: 38.36 kB / 1.155 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.542e-05/0.5671, allocations: 12 kB / 1.155 GB, free: 9.746 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004147/0.5675, allocations: 281.2 kB / 1.155 GB, free: 9.469 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000467/0.568, allocations: 367.7 kB / 1.155 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.568, allocations: 0 / 1.155 GB, free: 9.086 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.723e-05/0.568, allocations: 3.906 kB / 1.155 GB, free: 9.082 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.283e-05/0.5681, allocations: 28.64 kB / 1.155 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001994/0.5701, allocations: 2.057 MB / 1.157 GB, free: 6.793 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003477/0.5704, allocations: 158.8 kB / 1.157 GB, free: 6.629 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000222/0.5707, allocations: 129 kB / 1.158 GB, free: 6.5 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.5707, allocations: 7.984 kB / 1.158 GB, free: 6.492 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.5707, allocations: 38.5 kB / 1.158 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=17): time 2.855e-06/0.5707, allocations: 4 kB / 1.158 GB, free: 6.441 MB / 0.7605 GB Notification: Performance of matching and sorting (n=17): time 0.0002874/0.571, allocations: 156 kB / 1.158 GB, free: 6.285 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.205e-05/0.5711, allocations: 51.41 kB / 1.158 GB, free: 6.223 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.5712, allocations: 177.8 kB / 1.158 GB, free: 6.043 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.5712, allocations: 29.7 kB / 1.158 GB, free: 6.008 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.5713, allocations: 171.7 kB / 1.158 GB, free: 5.832 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.984e-05/0.5714, allocations: 63.09 kB / 1.158 GB, free: 5.77 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.568e-06/0.5714, allocations: 0 / 1.158 GB, free: 5.77 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.5715, allocations: 326.8 kB / 1.159 GB, free: 5.441 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.5716, allocations: 59.98 kB / 1.159 GB, free: 5.383 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001411/0.5717, allocations: 157.7 kB / 1.159 GB, free: 5.18 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001161/0.5719, allocations: 83.98 kB / 1.159 GB, free: 5.098 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.5719, allocations: 3.906 kB / 1.159 GB, free: 5.094 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003277/0.5722, allocations: 236.3 kB / 1.159 GB, free: 4.859 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004182/0.5726, allocations: 1.308 MB / 1.16 GB, free: 3.449 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.331e-06/0.5726, allocations: 8 kB / 1.16 GB, free: 3.441 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.5727, allocations: 11.98 kB / 1.16 GB, free: 3.43 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004089/0.5731, allocations: 67.91 kB / 1.16 GB, free: 3.363 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008326/0.5739, allocations: 1.254 MB / 1.162 GB, free: 1.996 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001864/0.5741, allocations: 35.67 kB / 1.162 GB, free: 1.961 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.5741, allocations: 8 kB / 1.162 GB, free: 1.953 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.799e-06/0.5742, allocations: 11.88 kB / 1.162 GB, free: 1.941 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002548/0.5744, allocations: 183.7 kB / 1.162 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.494e-06/0.5744, allocations: 0 / 1.162 GB, free: 1.762 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.849e-06/0.5744, allocations: 8 kB / 1.162 GB, free: 1.754 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003842/0.5748, allocations: 72.34 kB / 1.162 GB, free: 1.684 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007263/0.5756, allocations: 1.259 MB / 1.163 GB, free: 320 kB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.5757, allocations: 27.98 kB / 1.163 GB, free: 292 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.46e-05/0.5758, allocations: 16 kB / 1.163 GB, free: 276 kB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 7.687e-05/0.5759, allocations: 114.2 kB / 1.163 GB, free: 156 kB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.128e-05/0.5759, allocations: 19.72 kB / 1.163 GB, free: 136 kB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.907e-05/0.5759, allocations: 25.58 kB / 1.163 GB, free: 116 kB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.576, allocations: 0 / 1.163 GB, free: 116 kB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.753e-06/0.576, allocations: 4 kB / 1.163 GB, free: 112 kB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.185e-06/0.576, allocations: 4 kB / 1.163 GB, free: 108 kB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000736/0.5767, allocations: 0.6418 MB / 1.164 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.5767, allocations: 8.156 kB / 1.164 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003665/0.5771, allocations: 55.84 kB / 1.164 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.5771, allocations: 3.984 kB / 1.164 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.5771, allocations: 4 kB / 1.164 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.5771, allocations: 0 / 1.164 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5771, allocations: 4 kB / 1.164 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002772/0.5774, allocations: 344 kB / 1.164 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.77e-05/0.5775, allocations: 116.8 kB / 1.164 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.457e-05/0.5776, allocations: 0 / 1.164 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001424/0.5777, allocations: 11.98 kB / 1.164 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.549e-05/0.5777, allocations: 11.98 kB / 1.165 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.5778, allocations: 8 kB / 1.165 GB, free: 14.75 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9.306e-05/0.5779, allocations: 135 kB / 1.165 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004597/0.5783, allocations: 115.5 kB / 1.165 GB, free: 14.5 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001086/0.5784, allocations: 103.2 kB / 1.165 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0007616/0.5792, allocations: 276.9 kB / 1.165 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5792, allocations: 0 / 1.165 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.5796, allocations: 88.03 kB / 1.165 GB, free: 14.04 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.5798, allocations: 36.31 kB / 1.165 GB, free: 14 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005999/0.5805, allocations: 333.1 kB / 1.166 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/0.5808, allocations: 0.8177 MB / 1.166 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of SimCode: time 2.6e-07/0.5808, allocations: 0 / 1.166 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of Templates: time 0.005407/0.5862, allocations: 2.787 MB / 1.169 GB, free: 10.04 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)