Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_8_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Conversion.Examples.DCDCConverter,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.668/1.668, allocations: 289.7 MB / 302.3 MB, free: 2.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00101/0.00101, allocations: 181.2 kB / 371.6 MB, free: 3.344 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.578/1.578, allocations: 205.2 MB / 0.6309 GB, free: 11.73 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001209/0.001209, allocations: 89.38 kB / 0.745 GB, free: 54.47 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.469e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2782/0.2783, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8603/1.139, allocations: 169.9 MB / 1.146 GB, free: 22.57 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003139/1.139, allocations: 83.16 kB / 1.146 GB, free: 22.54 MB / 0.7448 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Electrical/Interfaces/Source.mo:30:9-30: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 8.1.4-maint.8.1.x/Electrical/DC/Conversion/DCDCConverter.mo:24:3-24: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 8.1.4-maint.8.1.x/Electrical/DC/Conversion/DCDCConverter.mo:25:3-25: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 8.1.4-maint.8.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.0412/1.18, allocations: 16.56 MB / 1.162 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.244e-06/1.18, allocations: 0 / 1.162 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.43e-05/1.18, allocations: 12 kB / 1.162 GB, free: 14.08 MB / 0.7448 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.0008228/1.181, allocations: 0.5462 MB / 1.163 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/1.181, allocations: 8.031 kB / 1.163 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.221e-05/1.181, allocations: 66.72 kB / 1.163 GB, free: 13.49 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008335/1.182, allocations: 108.8 kB / 1.163 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/1.182, allocations: 280.9 kB / 1.163 GB, free: 13.14 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.745e-05/1.183, allocations: 46.27 kB / 1.163 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.581e-05/1.183, allocations: 24.19 kB / 1.163 GB, free: 13.08 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006123/1.183, allocations: 404.6 kB / 1.164 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/1.183, allocations: 0 / 1.164 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.165e-05/1.183, allocations: 11.31 kB / 1.164 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/1.183, allocations: 28.39 kB / 1.164 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004151/1.184, allocations: 296.8 kB / 1.164 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001927/1.186, allocations: 2.106 MB / 1.166 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004457/1.186, allocations: 186.2 kB / 1.166 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/1.186, allocations: 125.4 kB / 1.166 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/1.186, allocations: 5.625 kB / 1.166 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.734e-05/1.186, allocations: 38.52 kB / 1.166 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=17): time 1.733e-06/1.186, allocations: 0 / 1.166 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=17): time 0.000366/1.187, allocations: 173.2 kB / 1.166 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.828e-05/1.187, allocations: 55.41 kB / 1.166 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/1.187, allocations: 197.6 kB / 1.167 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/1.187, allocations: 37.08 kB / 1.167 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.234e-05/1.187, allocations: 186.2 kB / 1.167 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/1.187, allocations: 59.34 kB / 1.167 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.211e-05/1.187, allocations: 7.875 kB / 1.167 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.759e-05/1.187, allocations: 328.5 kB / 1.167 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.311e-05/1.187, allocations: 60.97 kB / 1.167 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/1.188, allocations: 170.6 kB / 1.167 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/1.188, allocations: 82.7 kB / 1.168 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/1.188, allocations: 0 / 1.168 GB, free: 9.277 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0003433/1.188, allocations: 261.8 kB / 1.168 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002854/1.188, allocations: 1.312 MB / 1.169 GB, free: 7.699 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/1.188, allocations: 4 kB / 1.169 GB, free: 7.695 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.188, allocations: 11.94 kB / 1.169 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004023/1.189, allocations: 73.84 kB / 1.169 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007586/1.19, allocations: 1.306 MB / 1.17 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/1.19, allocations: 49.7 kB / 1.17 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/1.19, allocations: 11.38 kB / 1.171 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.855e-06/1.19, allocations: 4 kB / 1.171 GB, free: 6.195 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002891/1.19, allocations: 207.5 kB / 1.171 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/1.19, allocations: 12.08 kB / 1.171 GB, free: 6.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.41e-06/1.19, allocations: 5.266 kB / 1.171 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003691/1.191, allocations: 68.98 kB / 1.171 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006084/1.191, allocations: 1.307 MB / 1.172 GB, free: 4.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001754/1.191, allocations: 30.11 kB / 1.172 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/1.191, allocations: 13.09 kB / 1.172 GB, free: 4.57 MB / 0.7448 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 8.065e-05/1.191, allocations: 123.8 kB / 1.172 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.913e-05/1.191, allocations: 19.81 kB / 1.172 GB, free: 4.43 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.3e-05/1.192, allocations: 26.08 kB / 1.172 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/1.192, allocations: 9.453 kB / 1.172 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/1.192, allocations: 1.062 kB / 1.172 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/1.192, allocations: 0 / 1.172 GB, free: 4.41 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007876/1.192, allocations: 0.7084 MB / 1.173 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/1.192, allocations: 4 kB / 1.173 GB, free: 3.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003456/1.193, allocations: 53.59 kB / 1.173 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/1.193, allocations: 0 / 1.173 GB, free: 3.738 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.527e-05/1.193, allocations: 7.188 kB / 1.173 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/1.193, allocations: 2.078 kB / 1.173 GB, free: 3.734 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/1.193, allocations: 7.938 kB / 1.173 GB, free: 3.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002844/1.193, allocations: 357.6 kB / 1.173 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.76e-05/1.193, allocations: 110 kB / 1.173 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.161e-05/1.193, allocations: 3.625 kB / 1.173 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/1.193, allocations: 14.09 kB / 1.174 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.638e-05/1.193, allocations: 19.7 kB / 1.174 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/1.193, allocations: 11.45 kB / 1.174 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001259/1.194, allocations: 160.9 kB / 1.174 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/1.194, allocations: 4 kB / 1.174 GB, free: 3.098 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0005136/1.194, allocations: 115.3 kB / 1.174 GB, free: 2.992 MB / 0.7448 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.0004883/1.195, allocations: 1.229 MB / 1.175 GB, free: 1.766 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0006891/1.195, allocations: 287.8 kB / 1.175 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.195, allocations: 0 / 1.175 GB, free: 1.562 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002674/1.196, allocations: 83.97 kB / 1.175 GB, free: 1.508 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/1.196, allocations: 41.25 kB / 1.175 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008149/1.197, allocations: 419.4 kB / 1.176 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/1.197, allocations: 0.7845 MB / 1.177 GB, free: 376 kB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002236/1.197, allocations: 73.12 kB / 1.177 GB, free: 328 kB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.874e-05/1.197, allocations: 69.52 kB / 1.177 GB, free: 308 kB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/1.197, allocations: 0 / 1.177 GB, free: 308 kB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01831/1.216, allocations: 4.648 MB / 1.181 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/1.216, allocations: 190.7 kB / 1.181 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/3.131, allocations: 0 / 1.181 GB, free: 12.12 MB / 0.7605 GB (rm -f Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; mkfifo Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe ; head -c 1048576 < Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe >> ../files/Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Electrical_DC_Conversion_Examples_DCDCConverter.fmu > Buildings_8_Buildings.Electrical.DC.Conversion.Examples.DCDCConverter.pipe 2>&1)