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.225/2.225, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.0009581/0.0009581, allocations: 180.8 kB / 487.4 MB, free: 5.027 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.416/1.416, allocations: 221.5 MB / 0.7824 GB, free: 0.9414 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008944/0.0008944, allocations: 99.7 kB / 0.9219 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.789e-05/1.791e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2747, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9016/1.176, allocations: 179.8 MB / 1.382 GB, free: 17.77 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001984/1.177, allocations: 86.19 kB / 1.382 GB, free: 17.77 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.04302/1.22, allocations: 20.66 MB / 1.402 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.422e-06/1.22, allocations: 0 / 1.402 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.965e-05/1.22, allocations: 11.58 kB / 1.402 GB, free: 25.04 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.0007214/1.22, allocations: 0.5509 MB / 1.402 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.221, allocations: 7.719 kB / 1.402 GB, free: 24.55 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007762/1.221, allocations: 109.3 kB / 1.403 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/1.222, allocations: 280.2 kB / 1.403 GB, free: 24.27 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.15e-05/1.222, allocations: 37.86 kB / 1.403 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.819e-05/1.222, allocations: 19.25 kB / 1.403 GB, free: 24.23 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000373/1.222, allocations: 265.4 kB / 1.403 GB, free: 24.2 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004664/1.223, allocations: 360.6 kB / 1.404 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/1.223, allocations: 0 / 1.404 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/1.223, allocations: 0 / 1.404 GB, free: 24.05 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.425e-05/1.223, allocations: 31.17 kB / 1.404 GB, free: 24.04 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001759/1.224, allocations: 2.038 MB / 1.406 GB, free: 22.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/1.225, allocations: 171.2 kB / 1.406 GB, free: 22.26 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/1.225, allocations: 115.6 kB / 1.406 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.524e-05/1.225, allocations: 3.875 kB / 1.406 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/1.225, allocations: 37.69 kB / 1.406 GB, free: 22.2 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 2.485e-06/1.225, allocations: 3.938 kB / 1.406 GB, free: 22.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0002833/1.225, allocations: 165.1 kB / 1.406 GB, free: 22.12 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.992e-05/1.225, allocations: 51.41 kB / 1.406 GB, free: 22.06 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/1.226, allocations: 174.9 kB / 1.406 GB, free: 21.95 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/1.226, allocations: 25.7 kB / 1.406 GB, free: 21.92 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.556e-05/1.226, allocations: 194.3 kB / 1.406 GB, free: 21.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/1.226, allocations: 57.86 kB / 1.406 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/1.226, allocations: 0 / 1.406 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.226, allocations: 329.6 kB / 1.407 GB, free: 21.38 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.145e-05/1.226, allocations: 63.36 kB / 1.407 GB, free: 21.33 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001139/1.226, allocations: 161.3 kB / 1.407 GB, free: 21.15 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001114/1.226, allocations: 84.11 kB / 1.407 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/1.226, allocations: 0 / 1.407 GB, free: 21.09 MB / 0.8386 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003116/1.227, allocations: 226.8 kB / 1.407 GB, free: 20.9 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004273/1.227, allocations: 1.312 MB / 1.409 GB, free: 19.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/1.227, allocations: 4 kB / 1.409 GB, free: 19.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/1.227, allocations: 8 kB / 1.409 GB, free: 19.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003992/1.227, allocations: 71.22 kB / 1.409 GB, free: 19.43 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008108/1.228, allocations: 1.265 MB / 1.41 GB, free: 18.09 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/1.228, allocations: 27.78 kB / 1.41 GB, free: 18.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/1.228, allocations: 8 kB / 1.41 GB, free: 18.05 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/1.228, allocations: 6.188 kB / 1.41 GB, free: 18.05 MB / 0.8386 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000251/1.229, allocations: 180.8 kB / 1.41 GB, free: 17.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/1.229, allocations: 7.953 kB / 1.41 GB, free: 17.9 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.64e-06/1.229, allocations: 4 kB / 1.41 GB, free: 17.89 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003777/1.229, allocations: 75.45 kB / 1.41 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007188/1.23, allocations: 1.261 MB / 1.411 GB, free: 16.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/1.23, allocations: 27.08 kB / 1.411 GB, free: 16.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/1.23, allocations: 8 kB / 1.411 GB, free: 16.45 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.0001071/1.23, allocations: 120.4 kB / 1.412 GB, free: 16.32 MB / 0.8386 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002452/1.23, allocations: 152.7 kB / 1.412 GB, free: 16.2 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/1.23, allocations: 27.75 kB / 1.412 GB, free: 16.17 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.269e-05/1.231, allocations: 20.53 kB / 1.412 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.231, allocations: 0 / 1.412 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/1.231, allocations: 0 / 1.412 GB, free: 16.16 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.231, allocations: 7.984 kB / 1.412 GB, free: 16.15 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007321/1.231, allocations: 0.6411 MB / 1.412 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.231, allocations: 0 / 1.412 GB, free: 15.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003524/1.232, allocations: 55.89 kB / 1.412 GB, free: 15.46 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/1.232, allocations: 4 kB / 1.412 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/1.232, allocations: 0 / 1.412 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/1.232, allocations: 4 kB / 1.412 GB, free: 15.45 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.232, allocations: 8.094 kB / 1.412 GB, free: 15.44 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002683/1.232, allocations: 340.8 kB / 1.413 GB, free: 15.09 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.192e-05/1.232, allocations: 111.8 kB / 1.413 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/1.232, allocations: 4 kB / 1.413 GB, free: 14.96 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/1.232, allocations: 7.984 kB / 1.413 GB, free: 14.95 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/1.232, allocations: 19.92 kB / 1.413 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/1.232, allocations: 4 kB / 1.413 GB, free: 14.93 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.818e-05/1.232, allocations: 138.9 kB / 1.413 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.232, allocations: 0 / 1.413 GB, free: 14.81 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005096/1.233, allocations: 111.5 kB / 1.413 GB, free: 14.7 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.0006248/1.234, allocations: 1.218 MB / 1.414 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006052/1.234, allocations: 262.2 kB / 1.415 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.234, allocations: 0 / 1.415 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/1.234, allocations: 79.22 kB / 1.415 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/1.235, allocations: 36.02 kB / 1.415 GB, free: 13.18 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007364/1.236, allocations: 399.6 kB / 1.415 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003142/1.236, allocations: 0.789 MB / 1.416 GB, free: 11.96 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00019/1.236, allocations: 66 kB / 1.416 GB, free: 11.9 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.697e-05/1.236, allocations: 73.59 kB / 1.416 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.6e-07/1.236, allocations: 0 / 1.416 GB, free: 11.88 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/1.259, allocations: 3.924 MB / 1.42 GB, free: 7.988 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001753/1.259, allocations: 148 kB / 1.42 GB, free: 7.793 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/3.009, allocations: 0 / 1.42 GB, free: 7.793 MB / 0.8386 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