Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.498/2.498, allocations: 393.5 MB / 408.4 MB, free: 11.02 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.001143/0.001143, allocations: 176 kB / 0.4901 GB, free: 2.23 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.618/1.618, allocations: 223.1 MB / 0.7992 GB, free: 14.72 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.001032/0.001031, allocations: 88.33 kB / 0.9396 GB, free: 1.926 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003895/0.0003896, allocations: 10.34 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3833, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2444/0.6277, allocations: 181.4 MB / 1.406 GB, free: 4.078 MB / 0.9011 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.6282, allocations: 87.94 kB / 1.406 GB, free: 3.992 MB / 0.9011 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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 10.0.0-master/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.8034/1.432, allocations: 20.88 MB / 1.427 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.605e-06/1.432, allocations: 0 / 1.427 GB, free: 183.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 2.114e-05/1.432, allocations: 9.406 kB / 1.427 GB, free: 183.5 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.0008629/1.433, allocations: 0.5727 MB / 1.427 GB, free: 183 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/1.433, allocations: 9.281 kB / 1.427 GB, free: 183 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.557e-05/1.433, allocations: 66.69 kB / 1.428 GB, free: 183 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007807/1.433, allocations: 116.4 kB / 1.428 GB, free: 183 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003689/1.434, allocations: 275.3 kB / 1.428 GB, free: 182.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.421e-05/1.434, allocations: 46 kB / 1.428 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/1.434, allocations: 24.39 kB / 1.428 GB, free: 182.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006576/1.435, allocations: 420.4 kB / 1.428 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/1.435, allocations: 2.938 kB / 1.428 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/1.435, allocations: 10.28 kB / 1.428 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-05/1.435, allocations: 28.22 kB / 1.428 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005815/1.435, allocations: 335.6 kB / 1.429 GB, free: 182.6 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002205/1.438, allocations: 2.101 MB / 1.431 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005561/1.438, allocations: 201 kB / 1.431 GB, free: 181.1 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.707e-05/1.438, allocations: 10.98 kB / 1.431 GB, free: 181 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.926e-05/1.438, allocations: 34.67 kB / 1.431 GB, free: 181 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=17): time 1.993e-06/1.438, allocations: 0 / 1.431 GB, free: 181 MB / 0.9167 GB Notification: Performance of matching and sorting (n=17): time 0.0007008/1.439, allocations: 285.5 kB / 1.431 GB, free: 181 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.097e-05/1.439, allocations: 52.69 kB / 1.431 GB, free: 180.9 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/1.439, allocations: 199.8 kB / 1.432 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.418e-05/1.439, allocations: 29.52 kB / 1.432 GB, free: 180.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001297/1.439, allocations: 199.7 kB / 1.432 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 5.31e-05/1.439, allocations: 57.31 kB / 1.432 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.179e-05/1.439, allocations: 3.75 kB / 1.432 GB, free: 180.6 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.922e-05/1.44, allocations: 333 kB / 1.432 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002105/1.44, allocations: 86.41 kB / 1.432 GB, free: 180.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002483/1.44, allocations: 184.4 kB / 1.432 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002435/1.44, allocations: 113.6 kB / 1.432 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.44, allocations: 3.203 kB / 1.432 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005496/1.441, allocations: 303.4 kB / 1.433 GB, free: 180.1 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002962/1.441, allocations: 1.228 MB / 1.434 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/1.441, allocations: 6.25 kB / 1.434 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.441, allocations: 6.562 kB / 1.434 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004731/1.442, allocations: 68.81 kB / 1.434 GB, free: 178.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008651/1.443, allocations: 1.316 MB / 1.435 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002152/1.443, allocations: 34.8 kB / 1.435 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/1.443, allocations: 15.56 kB / 1.435 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.808e-06/1.443, allocations: 7.547 kB / 1.435 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005279/1.443, allocations: 250.3 kB / 1.436 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/1.443, allocations: 3.969 kB / 1.436 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.138e-06/1.443, allocations: 5.297 kB / 1.436 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/1.444, allocations: 70.7 kB / 1.436 GB, free: 177.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007307/1.445, allocations: 1.318 MB / 1.437 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001814/1.445, allocations: 30.98 kB / 1.437 GB, free: 176.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/1.445, allocations: 12.72 kB / 1.437 GB, free: 176.1 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.0001966/1.445, allocations: 237.4 kB / 1.437 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.031e-05/1.445, allocations: 25.23 kB / 1.437 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.203e-05/1.445, allocations: 32.33 kB / 1.437 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.445, allocations: 3.25 kB / 1.437 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/1.445, allocations: 0.75 kB / 1.437 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/1.445, allocations: 3.891 kB / 1.437 GB, free: 175.9 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009943/1.446, allocations: 0.6441 MB / 1.438 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/1.446, allocations: 1.281 kB / 1.438 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/1.447, allocations: 55.44 kB / 1.438 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/1.447, allocations: 2.891 kB / 1.438 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/1.447, allocations: 5.375 kB / 1.438 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.973e-06/1.447, allocations: 7.062 kB / 1.438 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.447, allocations: 1.188 kB / 1.438 GB, free: 175.6 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00055/1.447, allocations: 385.7 kB / 1.438 GB, free: 175.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/1.447, allocations: 115 kB / 1.438 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/1.447, allocations: 3.797 kB / 1.438 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/1.448, allocations: 13.44 kB / 1.439 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.639e-05/1.448, allocations: 17.31 kB / 1.439 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/1.448, allocations: 4.469 kB / 1.439 GB, free: 175.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0001577/1.448, allocations: 164.6 kB / 1.439 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.6e-07/1.448, allocations: 0 / 1.439 GB, free: 175.1 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0005862/1.448, allocations: 119.4 kB / 1.439 GB, free: 175.1 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.0008254/1.449, allocations: 1.203 MB / 1.44 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.001016/1.45, allocations: 348.3 kB / 1.44 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/1.45, allocations: 1.188 kB / 1.44 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003879/1.451, allocations: 105.2 kB / 1.44 GB, free: 174.1 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/1.451, allocations: 45.47 kB / 1.44 GB, free: 174 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002661/1.454, allocations: 3.396 MB / 1.444 GB, free: 171.4 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/1.454, allocations: 0.7842 MB / 1.445 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.000218/1.454, allocations: 65.5 kB / 1.445 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/1.454, allocations: 71.61 kB / 1.445 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of SimCode: time 1.112e-06/1.454, allocations: 0 / 1.445 GB, free: 170.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/1.474, allocations: 4.368 MB / 1.449 GB, free: 170.4 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001646/1.474, allocations: 217.8 kB / 1.449 GB, free: 170.2 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.719/3.193, allocations: 3.172 kB / 1.449 GB, free: 170.2 MB / 0.9167 GB (rm -f Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter_res.mat does not exist to compare? outputFormat=mat