Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.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.DC.Conversion.Examples.DCDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter") translateModel(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,tolerance=1e-05,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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 3.0.0/package.mo): time 0.8181/0.8181, allocations: 132.4 MB / 139.7 MB, free: 15.55 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.001119/0.00112, allocations: 165.3 kB / 171.6 MB, free: 1.996 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.493/1.493, allocations: 170.5 MB / 373.9 MB, free: 15.83 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.001785/0.001785, allocations: 120.1 kB / 444.4 MB, free: 9.367 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.5605/0.5605, allocations: 73.4 MB / 0.666 GB, free: 62.57 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1853/0.7459, allocations: 131.8 MB / 0.7947 GB, free: 4.488 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.7462, allocations: 85.23 kB / 0.7948 GB, free: 4.406 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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 3.0.0/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 3.0.0/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 3.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38: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.04175/0.788, allocations: 16.32 MB / 0.8107 GB, free: 4.047 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.904e-05/0.788, allocations: 8 kB / 0.8107 GB, free: 4.039 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: 71 * Number of variables: 71 Notification: Performance of Generate backend data structure: time 0.001177/0.7892, allocations: 0.5564 MB / 0.8113 GB, free: 3.441 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/0.7893, allocations: 8.031 kB / 0.8113 GB, free: 3.434 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001071/0.7904, allocations: 111.5 kB / 0.8114 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005548/0.7909, allocations: 272.1 kB / 0.8117 GB, free: 3.02 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.452e-05/0.791, allocations: 38.36 kB / 0.8117 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.701e-05/0.7911, allocations: 16 kB / 0.8117 GB, free: 2.957 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000587/0.7917, allocations: 277.2 kB / 0.812 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.7923, allocations: 371.7 kB / 0.8123 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.7923, allocations: 0 / 0.8123 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.136e-05/0.7923, allocations: 0 / 0.8123 GB, free: 2.297 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.842e-05/0.7924, allocations: 28.64 kB / 0.8124 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002457/0.7949, allocations: 1.635 MB / 0.8139 GB, free: 0.5195 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004212/0.7953, allocations: 166.7 kB / 0.8141 GB, free: 356 kB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002626/0.7956, allocations: 128.8 kB / 0.8142 GB, free: 224 kB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.311e-05/0.7956, allocations: 4 kB / 0.8142 GB, free: 220 kB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.7957, allocations: 32.06 kB / 0.8143 GB, free: 180 kB / 0.5105 GB Notification: Performance of pre-optimization done (n=17): time 1.743e-06/0.7957, allocations: 4 kB / 0.8143 GB, free: 176 kB / 0.5105 GB Notification: Performance of matching and sorting (n=17): time 0.0003868/0.7961, allocations: 167.8 kB / 0.8144 GB, free: 4 kB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.26e-05/0.7962, allocations: 51.41 kB / 0.8145 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.7964, allocations: 167.1 kB / 0.8146 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.7964, allocations: 25.7 kB / 0.8147 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001213/0.7965, allocations: 187.5 kB / 0.8148 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.804e-05/0.7966, allocations: 55.2 kB / 0.8149 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.194e-05/0.7966, allocations: 0 / 0.8149 GB, free: 15.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.7967, allocations: 338.7 kB / 0.8152 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.7969, allocations: 53.58 kB / 0.8153 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.797, allocations: 162.2 kB / 0.8154 GB, free: 14.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.7972, allocations: 84.05 kB / 0.8155 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.078e-06/0.7972, allocations: 0 / 0.8155 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003919/0.7976, allocations: 233.1 kB / 0.8157 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006362/0.7983, allocations: 1.31 MB / 0.817 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.7983, allocations: 11.94 kB / 0.817 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.7983, allocations: 7.906 kB / 0.817 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004548/0.7988, allocations: 71.91 kB / 0.8171 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001153/0.7999, allocations: 1.26 MB / 0.8183 GB, free: 11.72 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002292/0.8002, allocations: 27.73 kB / 0.8183 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.8002, allocations: 12 kB / 0.8184 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.027e-06/0.8002, allocations: 4 kB / 0.8184 GB, free: 11.68 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003212/0.8006, allocations: 183.6 kB / 0.8185 GB, free: 11.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.8006, allocations: 4 kB / 0.8185 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.8006, allocations: 8 kB / 0.8185 GB, free: 11.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004123/0.801, allocations: 76.33 kB / 0.8186 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009314/0.8019, allocations: 1.254 MB / 0.8198 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002065/0.8022, allocations: 24 kB / 0.8199 GB, free: 10.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.115e-05/0.8022, allocations: 16 kB / 0.8199 GB, free: 10.01 MB / 0.5261 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: sen.I:VARIABLE(unit = "A" ) "Current" type: Real 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 0.0001835/0.8024, allocations: 116.8 kB / 0.82 GB, free: 9.887 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-05/0.8025, allocations: 19.8 kB / 0.82 GB, free: 9.867 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.374e-05/0.8025, allocations: 21.59 kB / 0.82 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.8025, allocations: 4 kB / 0.82 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.8025, allocations: 0 / 0.82 GB, free: 9.844 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.8026, allocations: 7.984 kB / 0.82 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009234/0.8035, allocations: 0.6049 MB / 0.8206 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.8035, allocations: 0 / 0.8206 GB, free: 9.168 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003891/0.8039, allocations: 59.89 kB / 0.8207 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.8039, allocations: 0 / 0.8207 GB, free: 9.109 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.728e-05/0.8039, allocations: 4 kB / 0.8207 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.8039, allocations: 0.8594 kB / 0.8207 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/0.8039, allocations: 4 kB / 0.8207 GB, free: 9.102 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003602/0.8043, allocations: 348 kB / 0.821 GB, free: 8.699 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.8044, allocations: 104.8 kB / 0.8211 GB, free: 8.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.727e-05/0.8045, allocations: 4 kB / 0.8211 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001533/0.8046, allocations: 11.98 kB / 0.8212 GB, free: 8.562 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.661e-05/0.8047, allocations: 19.89 kB / 0.8212 GB, free: 8.543 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.8047, allocations: 4 kB / 0.8212 GB, free: 8.539 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.0001172/0.8048, allocations: 139.4 kB / 0.8213 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005674/0.8054, allocations: 107.6 kB / 0.8214 GB, free: 8.297 MB / 0.5261 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.0001694/0.8056, allocations: 99.19 kB / 0.8215 GB, free: 8.191 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0009383/0.8065, allocations: 284 kB / 0.8218 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8065, allocations: 0 / 0.8218 GB, free: 7.918 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003861/0.8069, allocations: 83.84 kB / 0.8219 GB, free: 7.836 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003401/0.8073, allocations: 39.91 kB / 0.8219 GB, free: 7.797 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008195/0.8081, allocations: 345.3 kB / 0.8222 GB, free: 7.422 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004759/0.8086, allocations: 0.8024 MB / 0.823 GB, free: 6.59 MB / 0.5261 GB Notification: Performance of SimCode: time 2.61e-07/0.8086, allocations: 4 kB / 0.823 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of Templates: time 0.007018/0.8156, allocations: 2.757 MB / 0.8257 GB, free: 3.871 MB / 0.5261 GB make -j1 -f Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.makefile (rm -f Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & ./Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)