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.299/2.299, allocations: 390.3 MB / 402.8 MB, free: 6.742 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.001639/0.001639, allocations: 176.8 kB / 496.1 MB, free: 12.9 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.591/1.591, allocations: 221.3 MB / 0.7915 GB, free: 5.465 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.001288/0.001288, allocations: 95.89 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.347e-05/4.358e-05, allocations: 0 / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3917, allocations: 143 MB / 1.219 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.225/1.617, allocations: 181.3 MB / 1.396 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/1.617, allocations: 87.06 kB / 1.396 GB, free: 7.086 MB / 0.8542 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.05622/1.673, allocations: 20.72 MB / 1.416 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.026e-06/1.673, allocations: 0 / 1.416 GB, free: 5.809 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.791e-05/1.673, allocations: 15.38 kB / 1.416 GB, free: 5.797 MB / 0.8698 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.001192/1.675, allocations: 0.5456 MB / 1.417 GB, free: 5.227 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/1.675, allocations: 8.031 kB / 1.417 GB, free: 5.219 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001508/1.675, allocations: 67.28 kB / 1.417 GB, free: 5.16 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009675/1.676, allocations: 115.5 kB / 1.417 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004875/1.676, allocations: 271.3 kB / 1.417 GB, free: 4.762 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.982e-05/1.676, allocations: 44.83 kB / 1.417 GB, free: 4.719 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.429e-05/1.677, allocations: 25.12 kB / 1.417 GB, free: 4.703 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006843/1.677, allocations: 402.3 kB / 1.418 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/1.677, allocations: 0 / 1.418 GB, free: 4.379 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.734e-05/1.677, allocations: 10.44 kB / 1.418 GB, free: 4.375 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.938e-05/1.677, allocations: 28.36 kB / 1.418 GB, free: 4.352 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/1.678, allocations: 295.2 kB / 1.418 GB, free: 4.152 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/1.681, allocations: 2.099 MB / 1.42 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/1.681, allocations: 187.1 kB / 1.42 GB, free: 1.91 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002724/1.681, allocations: 132.7 kB / 1.42 GB, free: 1.809 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.642e-05/1.681, allocations: 7.984 kB / 1.42 GB, free: 1.801 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/1.681, allocations: 38.44 kB / 1.42 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=17): time 2.655e-06/1.681, allocations: 0 / 1.42 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of matching and sorting (n=17): time 0.0004094/1.682, allocations: 167.8 kB / 1.421 GB, free: 1.617 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.451e-05/1.682, allocations: 55.41 kB / 1.421 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002209/1.682, allocations: 200.4 kB / 1.421 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.612e-05/1.682, allocations: 29.52 kB / 1.421 GB, free: 1.348 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001259/1.682, allocations: 192.4 kB / 1.421 GB, free: 1.18 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.197e-05/1.682, allocations: 61.61 kB / 1.421 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.032e-05/1.682, allocations: 3.812 kB / 1.421 GB, free: 1.129 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001418/1.683, allocations: 329.1 kB / 1.421 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001189/1.683, allocations: 63.11 kB / 1.421 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/1.683, allocations: 172.6 kB / 1.422 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/1.683, allocations: 84.92 kB / 1.422 GB, free: 0.5117 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/1.683, allocations: 3.938 kB / 1.422 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004225/1.683, allocations: 271.6 kB / 1.422 GB, free: 292 kB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005929/1.684, allocations: 1.305 MB / 1.423 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/1.684, allocations: 4 kB / 1.423 GB, free: 14.9 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.292e-05/1.684, allocations: 7.984 kB / 1.423 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004126/1.685, allocations: 71.41 kB / 1.423 GB, free: 14.82 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00109/1.686, allocations: 1.304 MB / 1.425 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002497/1.686, allocations: 41.7 kB / 1.425 GB, free: 13.38 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.868e-05/1.686, allocations: 12 kB / 1.425 GB, free: 13.37 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/1.686, allocations: 4 kB / 1.425 GB, free: 13.36 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003503/1.686, allocations: 210 kB / 1.425 GB, free: 13.21 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/1.686, allocations: 8.062 kB / 1.425 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.143e-06/1.686, allocations: 4 kB / 1.425 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003857/1.687, allocations: 74.45 kB / 1.425 GB, free: 13.12 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008958/1.688, allocations: 1.302 MB / 1.426 GB, free: 11.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002044/1.688, allocations: 34.48 kB / 1.426 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.112e-05/1.688, allocations: 12 kB / 1.426 GB, free: 11.69 MB / 0.8855 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.000113/1.688, allocations: 123.8 kB / 1.426 GB, free: 11.57 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.292e-05/1.688, allocations: 19.8 kB / 1.426 GB, free: 11.55 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.323e-05/1.688, allocations: 32.02 kB / 1.426 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.688, allocations: 4.094 kB / 1.426 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.688, allocations: 4 kB / 1.426 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/1.688, allocations: 0 / 1.426 GB, free: 11.52 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009993/1.689, allocations: 0.7225 MB / 1.427 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.689, allocations: 0 / 1.427 GB, free: 10.81 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003551/1.69, allocations: 47.97 kB / 1.427 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/1.69, allocations: 4 kB / 1.427 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/1.69, allocations: 3.625 kB / 1.427 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/1.69, allocations: 15.88 kB / 1.427 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.69, allocations: 3.984 kB / 1.427 GB, free: 10.74 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003694/1.69, allocations: 355.1 kB / 1.428 GB, free: 10.37 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/1.69, allocations: 111.4 kB / 1.428 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/1.69, allocations: 4 kB / 1.428 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/1.69, allocations: 15.05 kB / 1.428 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.261e-05/1.69, allocations: 23.69 kB / 1.428 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/1.69, allocations: 4 kB / 1.428 GB, free: 10.21 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001598/1.691, allocations: 157.9 kB / 1.428 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/1.691, allocations: 4 kB / 1.428 GB, free: 10.07 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005582/1.691, allocations: 118.1 kB / 1.428 GB, free: 9.965 MB / 0.8855 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.0008015/1.692, allocations: 1.235 MB / 1.429 GB, free: 8.711 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007715/1.693, allocations: 282 kB / 1.429 GB, free: 8.5 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/1.693, allocations: 4 kB / 1.429 GB, free: 8.496 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002843/1.693, allocations: 78.66 kB / 1.429 GB, free: 8.438 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/1.693, allocations: 37.5 kB / 1.43 GB, free: 8.41 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/1.694, allocations: 431.4 kB / 1.43 GB, free: 7.984 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/1.695, allocations: 0.7784 MB / 1.431 GB, free: 7.188 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002366/1.695, allocations: 70 kB / 1.431 GB, free: 7.117 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001412/1.695, allocations: 68.41 kB / 1.431 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of SimCode: time 4.359e-06/1.695, allocations: 0 / 1.431 GB, free: 7.094 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01996/1.715, allocations: 4.607 MB / 1.435 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/1.715, allocations: 199.2 kB / 1.436 GB, free: 2.457 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.778/3.493, allocations: 3.938 kB / 1.436 GB, free: 2.453 MB / 0.8855 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