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: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 289.9 MB / 297.4 MB, free: 6.359 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.001076/0.001076, allocations: 176.9 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.0008528/0.000853, allocations: 92.77 kB / 0.74 GB, free: 39.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.033e-05/2.036e-05, allocations: 4 kB / 0.8598 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7633/0.7633, allocations: 116.3 MB / 0.9733 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2543/1.018, allocations: 169.3 MB / 1.139 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.018, allocations: 84.56 kB / 1.139 GB, free: 12.76 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 - DAE generated: time 0.04055/1.059, allocations: 16.5 MB / 1.155 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.803e-06/1.059, allocations: 0 / 1.155 GB, free: 12.17 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.553e-05/1.059, allocations: 11.94 kB / 1.155 GB, free: 12.16 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.000921/1.06, allocations: 0.5372 MB / 1.155 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.238e-05/1.06, allocations: 12.03 kB / 1.155 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008752/1.061, allocations: 108.2 kB / 1.155 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004041/1.061, allocations: 280.8 kB / 1.156 GB, free: 11.15 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.695e-05/1.061, allocations: 39.02 kB / 1.156 GB, free: 11.1 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.14e-05/1.061, allocations: 20 kB / 1.156 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004813/1.062, allocations: 269.2 kB / 1.156 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005428/1.062, allocations: 360.2 kB / 1.156 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/1.062, allocations: 0 / 1.156 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.981e-05/1.062, allocations: 0 / 1.156 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.466e-05/1.062, allocations: 28.48 kB / 1.156 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002267/1.064, allocations: 2.044 MB / 1.158 GB, free: 8.164 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/1.065, allocations: 183.7 kB / 1.159 GB, free: 7.98 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002541/1.065, allocations: 114.5 kB / 1.159 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/1.065, allocations: 0 / 1.159 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/1.065, allocations: 38.56 kB / 1.159 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=17): time 1.132e-06/1.065, allocations: 0 / 1.159 GB, free: 7.82 MB / 0.7605 GB Notification: Performance of matching and sorting (n=17): time 0.0003936/1.066, allocations: 158.7 kB / 1.159 GB, free: 7.66 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/1.066, allocations: 55.41 kB / 1.159 GB, free: 7.594 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/1.066, allocations: 173.9 kB / 1.159 GB, free: 7.418 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/1.066, allocations: 25.7 kB / 1.159 GB, free: 7.387 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/1.066, allocations: 187.6 kB / 1.159 GB, free: 7.199 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/1.066, allocations: 63.09 kB / 1.159 GB, free: 7.137 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/1.066, allocations: 0 / 1.159 GB, free: 7.137 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001902/1.066, allocations: 326.8 kB / 1.16 GB, free: 6.809 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001065/1.067, allocations: 59.98 kB / 1.16 GB, free: 6.75 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/1.067, allocations: 153.7 kB / 1.16 GB, free: 6.551 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001609/1.067, allocations: 85.02 kB / 1.16 GB, free: 6.469 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/1.067, allocations: 4 kB / 1.16 GB, free: 6.465 MB / 0.7605 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004155/1.067, allocations: 226.3 kB / 1.16 GB, free: 6.238 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008665/1.068, allocations: 1.316 MB / 1.162 GB, free: 4.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/1.068, allocations: 4 kB / 1.162 GB, free: 4.816 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.217e-05/1.068, allocations: 12 kB / 1.162 GB, free: 4.805 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004265/1.069, allocations: 71.83 kB / 1.162 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001179/1.07, allocations: 1.266 MB / 1.163 GB, free: 3.355 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002084/1.07, allocations: 27.77 kB / 1.163 GB, free: 3.328 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.729e-05/1.07, allocations: 13.81 kB / 1.163 GB, free: 3.316 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/1.07, allocations: 4 kB / 1.163 GB, free: 3.312 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003209/1.071, allocations: 182.4 kB / 1.163 GB, free: 3.137 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-06/1.071, allocations: 0 / 1.163 GB, free: 3.137 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/1.071, allocations: 11.95 kB / 1.163 GB, free: 3.125 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/1.071, allocations: 74.19 kB / 1.163 GB, free: 3.055 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008867/1.072, allocations: 1.259 MB / 1.164 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/1.072, allocations: 25.2 kB / 1.164 GB, free: 1.664 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/1.072, allocations: 12 kB / 1.164 GB, free: 1.652 MB / 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 0.0001181/1.072, allocations: 118.2 kB / 1.164 GB, free: 1.531 MB / 0.7605 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002495/1.072, allocations: 157.5 kB / 1.165 GB, free: 1.371 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.866e-05/1.072, allocations: 19.77 kB / 1.165 GB, free: 1.352 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.626e-05/1.073, allocations: 25.95 kB / 1.165 GB, free: 1.324 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/1.073, allocations: 4 kB / 1.165 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/1.073, allocations: 0 / 1.165 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/1.073, allocations: 0 / 1.165 GB, free: 1.32 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008964/1.073, allocations: 0.6496 MB / 1.165 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/1.073, allocations: 0 / 1.165 GB, free: 0.5898 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/1.074, allocations: 51.91 kB / 1.165 GB, free: 0.5391 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/1.074, allocations: 7.5 kB / 1.165 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/1.074, allocations: 0 / 1.165 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.074, allocations: 4 kB / 1.165 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/1.074, allocations: 160 / 1.165 GB, free: 0.5312 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003321/1.074, allocations: 353.7 kB / 1.166 GB, free: 128 kB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.355e-05/1.074, allocations: 108.8 kB / 1.166 GB, free: 0 / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.929e-05/1.074, allocations: 4.047 kB / 1.166 GB, free: 15.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/1.075, allocations: 8 kB / 1.166 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.53e-05/1.075, allocations: 15.92 kB / 1.166 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-05/1.075, allocations: 12 kB / 1.166 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001161/1.075, allocations: 131 kB / 1.166 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.4e-07/1.075, allocations: 1.594 kB / 1.166 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0005413/1.075, allocations: 111.5 kB / 1.166 GB, free: 15.72 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.0008313/1.076, allocations: 1.213 MB / 1.167 GB, free: 14.45 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006963/1.077, allocations: 266 kB / 1.168 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.077, allocations: 3.938 kB / 1.168 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/1.077, allocations: 81.59 kB / 1.168 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/1.078, allocations: 31.28 kB / 1.168 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008513/1.078, allocations: 408.2 kB / 1.168 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/1.079, allocations: 0.7834 MB / 1.169 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001977/1.079, allocations: 61.69 kB / 1.169 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/1.079, allocations: 75.41 kB / 1.169 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of SimCode: time 3.41e-07/1.079, allocations: 2.531 kB / 1.169 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02598/1.105, allocations: 3.912 MB / 1.173 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002695/1.105, allocations: 149.8 kB / 1.173 GB, free: 8.66 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.961/3.066, allocations: 1.094 kB / 1.173 GB, free: 8.66 MB / 0.7761 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)