Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 405.3 MB, free: 13.47 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001059/0.001059, allocations: 185 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.584/1.584, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009823/0.0009823, allocations: 104.2 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004142/0.0004141, allocations: 8.406 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3128, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.208/0.5208, allocations: 180.6 MB / 1.399 GB, free: 13.32 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5211, allocations: 91.89 kB / 1.399 GB, free: 13.23 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/Electrical/Interfaces/Source.mo:28:9-28: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 9.1.1-maint.9.1.x/Electrical/DC/Conversion/DCDCConverter.mo:26:3-26: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 9.1.1-maint.9.1.x/Electrical/DC/Conversion/DCDCConverter.mo:27:3-27: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 9.1.1-maint.9.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.04658/0.5677, allocations: 20.88 MB / 1.42 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.264e-06/0.5678, allocations: 0 / 1.42 GB, free: 8.07 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.288e-05/0.5678, allocations: 4 kB / 1.42 GB, free: 8.066 MB / 0.9167 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.001043/0.5688, allocations: 0.5619 MB / 1.42 GB, free: 7.453 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.5689, allocations: 15.97 kB / 1.42 GB, free: 7.438 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001197/0.569, allocations: 66.53 kB / 1.42 GB, free: 7.363 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008493/0.5699, allocations: 119.5 kB / 1.421 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.5703, allocations: 277.9 kB / 1.421 GB, free: 6.938 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.717e-05/0.5704, allocations: 46.27 kB / 1.421 GB, free: 6.887 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.583e-05/0.5705, allocations: 20 kB / 1.421 GB, free: 6.867 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006898/0.5712, allocations: 424.5 kB / 1.421 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.5712, allocations: 0 / 1.421 GB, free: 6.43 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.451e-05/0.5712, allocations: 12 kB / 1.421 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.293e-05/0.5713, allocations: 28.48 kB / 1.421 GB, free: 6.391 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006341/0.5719, allocations: 333.9 kB / 1.422 GB, free: 6.066 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00224/0.5742, allocations: 2.108 MB / 1.424 GB, free: 3.738 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000548/0.5747, allocations: 203.5 kB / 1.424 GB, free: 3.531 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.68e-05/0.5748, allocations: 4 kB / 1.424 GB, free: 3.527 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.5748, allocations: 42.5 kB / 1.424 GB, free: 3.477 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.5748, allocations: 0 / 1.424 GB, free: 3.477 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.0006343/0.5754, allocations: 278.8 kB / 1.424 GB, free: 3.199 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.5755, allocations: 55.41 kB / 1.424 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001834/0.5757, allocations: 204 kB / 1.424 GB, free: 2.926 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.5757, allocations: 29.7 kB / 1.424 GB, free: 2.891 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.5758, allocations: 191.9 kB / 1.425 GB, free: 2.695 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.522e-05/0.5759, allocations: 59.19 kB / 1.425 GB, free: 2.637 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.331e-05/0.5759, allocations: 8 kB / 1.425 GB, free: 2.629 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.576, allocations: 330.8 kB / 1.425 GB, free: 2.297 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.5762, allocations: 83.94 kB / 1.425 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.5765, allocations: 180.8 kB / 1.425 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002181/0.5767, allocations: 105.5 kB / 1.425 GB, free: 1.891 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.021e-06/0.5767, allocations: 4 kB / 1.425 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005213/0.5772, allocations: 308.8 kB / 1.426 GB, free: 1.578 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004102/0.5776, allocations: 1.222 MB / 1.427 GB, free: 268 kB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.5777, allocations: 8 kB / 1.427 GB, free: 260 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.5777, allocations: 11.98 kB / 1.427 GB, free: 248 kB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.5781, allocations: 71.91 kB / 1.427 GB, free: 176 kB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.548/1.126, allocations: 1.302 MB / 1.428 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/1.127, allocations: 36.3 kB / 1.428 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.286e-05/1.127, allocations: 9.062 kB / 1.428 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.127, allocations: 6.031 kB / 1.428 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005179/1.127, allocations: 259.1 kB / 1.428 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/1.127, allocations: 2.469 kB / 1.428 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.613e-06/1.127, allocations: 5.781 kB / 1.429 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/1.128, allocations: 67.23 kB / 1.429 GB, free: 188.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007164/1.128, allocations: 1.318 MB / 1.43 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002028/1.128, allocations: 32.75 kB / 1.43 GB, free: 187.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.948e-05/1.129, allocations: 15.41 kB / 1.43 GB, free: 187.2 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (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.0002365/1.129, allocations: 242.1 kB / 1.43 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.961e-05/1.129, allocations: 17.97 kB / 1.43 GB, free: 187.1 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.059e-05/1.129, allocations: 30.42 kB / 1.43 GB, free: 187 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/1.129, allocations: 4.5 kB / 1.43 GB, free: 187 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/1.129, allocations: 0 / 1.43 GB, free: 187 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/1.129, allocations: 5.641 kB / 1.43 GB, free: 187 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009373/1.13, allocations: 0.6404 MB / 1.431 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/1.13, allocations: 1.5 kB / 1.431 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/1.13, allocations: 57.73 kB / 1.431 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/1.13, allocations: 4.406 kB / 1.431 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.717e-05/1.13, allocations: 5.625 kB / 1.431 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/1.13, allocations: 3.016 kB / 1.431 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.13, allocations: 5.469 kB / 1.431 GB, free: 186.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/1.131, allocations: 394.1 kB / 1.431 GB, free: 186.5 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/1.131, allocations: 112.4 kB / 1.431 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.475e-05/1.131, allocations: 4.781 kB / 1.431 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/1.131, allocations: 14.44 kB / 1.431 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/1.131, allocations: 15.25 kB / 1.431 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/1.131, allocations: 4.188 kB / 1.431 GB, free: 186.4 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001407/1.131, allocations: 162.6 kB / 1.432 GB, free: 186.3 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.2e-07/1.131, allocations: 0 / 1.432 GB, free: 186.3 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006007/1.132, allocations: 122.3 kB / 1.432 GB, free: 186.3 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (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.0008226/1.133, allocations: 1.199 MB / 1.433 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00104/1.134, allocations: 350.2 kB / 1.433 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/1.134, allocations: 3.281 kB / 1.433 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000383/1.134, allocations: 107.9 kB / 1.433 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000333/1.135, allocations: 39.42 kB / 1.433 GB, free: 185.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002728/1.137, allocations: 3.393 MB / 1.437 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/1.138, allocations: 0.7813 MB / 1.437 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000243/1.138, allocations: 68.69 kB / 1.437 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/1.138, allocations: 67.8 kB / 1.438 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of SimCode: time 1.173e-06/1.138, allocations: 0 / 1.438 GB, free: 181.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/1.158, allocations: 4.359 MB / 1.442 GB, free: 181.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001637/1.159, allocations: 223.4 kB / 1.442 GB, free: 181.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.708/2.866, allocations: 0.5625 kB / 1.442 GB, free: 181.4 MB / 0.9167 GB (rm -f Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat does not exist to compare? outputFormat=mat