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.29/2.29, allocations: 387.1 MB / 399.7 MB, free: 9.473 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.001081/0.001081, allocations: 188.1 kB / 492.3 MB, free: 0.6133 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.518/1.518, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0008932/0.0008931, allocations: 91.94 kB / 0.9267 GB, free: 14.02 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.794e-05/3.806e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2756, allocations: 142.3 MB / 1.212 GB, free: 38.46 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9821/1.258, allocations: 180.5 MB / 1.389 GB, free: 17.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/1.258, allocations: 81.33 kB / 1.389 GB, free: 17.27 MB / 0.823 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.04283/1.301, allocations: 20.72 MB / 1.409 GB, free: 18.54 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.206e-06/1.301, allocations: 3.938 kB / 1.409 GB, free: 18.53 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.225e-05/1.301, allocations: 8 kB / 1.409 GB, free: 18.52 MB / 0.8386 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.001025/1.302, allocations: 0.5472 MB / 1.41 GB, free: 17.95 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/1.302, allocations: 8.031 kB / 1.41 GB, free: 17.94 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001414/1.302, allocations: 68.66 kB / 1.41 GB, free: 17.88 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000934/1.303, allocations: 120.2 kB / 1.41 GB, free: 17.76 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/1.304, allocations: 275.9 kB / 1.41 GB, free: 17.47 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.154e-05/1.304, allocations: 48.83 kB / 1.41 GB, free: 17.43 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.162e-05/1.304, allocations: 22.81 kB / 1.41 GB, free: 17.41 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005667/1.304, allocations: 396.3 kB / 1.411 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/1.304, allocations: 7.984 kB / 1.411 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.697e-05/1.304, allocations: 9.375 kB / 1.411 GB, free: 17.09 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/1.304, allocations: 28.48 kB / 1.411 GB, free: 17.06 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/1.305, allocations: 292.5 kB / 1.411 GB, free: 16.87 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/1.307, allocations: 2.105 MB / 1.413 GB, free: 14.76 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004732/1.308, allocations: 177.5 kB / 1.413 GB, free: 14.62 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002617/1.308, allocations: 132.2 kB / 1.413 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.179e-05/1.308, allocations: 7.984 kB / 1.413 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.226e-05/1.308, allocations: 34.5 kB / 1.413 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 1.853e-06/1.308, allocations: 0 / 1.413 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003541/1.308, allocations: 166.6 kB / 1.413 GB, free: 14.34 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/1.308, allocations: 55.41 kB / 1.413 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002514/1.309, allocations: 205.5 kB / 1.414 GB, free: 14.1 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.513e-05/1.309, allocations: 25.7 kB / 1.414 GB, free: 14.07 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/1.309, allocations: 192.3 kB / 1.414 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.672e-05/1.309, allocations: 62.05 kB / 1.414 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.101e-05/1.309, allocations: 7.812 kB / 1.414 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.309, allocations: 329.5 kB / 1.414 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/1.309, allocations: 57.67 kB / 1.414 GB, free: 13.48 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/1.309, allocations: 170.1 kB / 1.414 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/1.309, allocations: 86.58 kB / 1.415 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/1.309, allocations: 0 / 1.415 GB, free: 13.23 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0004361/1.31, allocations: 266.4 kB / 1.415 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.000624/1.311, allocations: 1.319 MB / 1.416 GB, free: 11.62 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/1.311, allocations: 4 kB / 1.416 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/1.311, allocations: 4 kB / 1.416 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004491/1.311, allocations: 71.72 kB / 1.416 GB, free: 11.54 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/1.312, allocations: 1.306 MB / 1.417 GB, free: 10.14 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/1.312, allocations: 43.39 kB / 1.417 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.22e-05/1.312, allocations: 15.94 kB / 1.417 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/1.312, allocations: 4 kB / 1.417 GB, free: 10.08 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003329/1.313, allocations: 206.1 kB / 1.418 GB, free: 9.926 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.313, allocations: 4 kB / 1.418 GB, free: 9.922 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.416e-06/1.313, allocations: 12.02 kB / 1.418 GB, free: 9.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/1.313, allocations: 71.78 kB / 1.418 GB, free: 9.844 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009226/1.314, allocations: 1.305 MB / 1.419 GB, free: 8.441 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/1.314, allocations: 35.23 kB / 1.419 GB, free: 8.414 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/1.314, allocations: 12 kB / 1.419 GB, free: 8.402 MB / 0.8386 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.0001198/1.314, allocations: 123.2 kB / 1.419 GB, free: 8.281 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.479e-05/1.315, allocations: 19.72 kB / 1.419 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.437e-05/1.315, allocations: 32.89 kB / 1.419 GB, free: 8.238 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/1.315, allocations: 4.094 kB / 1.419 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/1.315, allocations: 0 / 1.419 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.315, allocations: 0 / 1.419 GB, free: 8.234 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009622/1.316, allocations: 0.7068 MB / 1.42 GB, free: 7.531 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/1.316, allocations: 8.031 kB / 1.42 GB, free: 7.523 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/1.316, allocations: 47.97 kB / 1.42 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/1.316, allocations: 0 / 1.42 GB, free: 7.477 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.79e-05/1.316, allocations: 7.375 kB / 1.42 GB, free: 7.473 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.073e-06/1.316, allocations: 11.92 kB / 1.42 GB, free: 7.461 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.316, allocations: 3.953 kB / 1.42 GB, free: 7.457 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/1.316, allocations: 352.3 kB / 1.42 GB, free: 7.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/1.317, allocations: 108.7 kB / 1.42 GB, free: 6.969 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/1.317, allocations: 11.12 kB / 1.42 GB, free: 6.961 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/1.317, allocations: 11.8 kB / 1.42 GB, free: 6.953 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.409e-05/1.317, allocations: 15.94 kB / 1.421 GB, free: 6.938 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.308e-05/1.317, allocations: 7.688 kB / 1.421 GB, free: 6.934 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001488/1.317, allocations: 159.3 kB / 1.421 GB, free: 6.801 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.91e-07/1.317, allocations: 4 kB / 1.421 GB, free: 6.797 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005574/1.318, allocations: 117.2 kB / 1.421 GB, free: 6.691 MB / 0.8386 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.0007661/1.318, allocations: 1.241 MB / 1.422 GB, free: 5.434 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0007344/1.319, allocations: 280.8 kB / 1.422 GB, free: 5.223 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.319, allocations: 4 kB / 1.422 GB, free: 5.219 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002926/1.319, allocations: 79.09 kB / 1.422 GB, free: 5.16 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/1.32, allocations: 41.06 kB / 1.422 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009744/1.321, allocations: 423.1 kB / 1.423 GB, free: 4.711 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/1.321, allocations: 0.7833 MB / 1.424 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002329/1.321, allocations: 70 kB / 1.424 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001005/1.321, allocations: 77.53 kB / 1.424 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of SimCode: time 2.2e-07/1.321, allocations: 0 / 1.424 GB, free: 3.809 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01975/1.341, allocations: 4.598 MB / 1.428 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000205/1.341, allocations: 187.9 kB / 1.428 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.835/3.177, allocations: 0 / 1.428 GB, free: 15.18 MB / 0.8542 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