Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.234/2.234, allocations: 194.9 MB / 211.1 MB, free: 8.57 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005477/0.0005479, allocations: 8 kB / 264.1 MB, free: 3.473 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3525, allocations: 44.51 MB / 308.6 MB, free: 12.77 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.14/0.4926, allocations: 79.88 MB / 388.5 MB, free: 12.78 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003265/0.493, allocations: 95.94 kB / 388.6 MB, free: 12.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05626/0.5493, allocations: 14.75 MB / 403.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5493, allocations: 0 / 403.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.348e-05/0.5494, allocations: 24 kB / 403.3 MB, free: 13.8 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003063/0.5525, allocations: 1.143 MB / 404.5 MB, free: 12.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.5526, allocations: 8.031 kB / 404.5 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002903/0.5529, allocations: 135.3 kB / 404.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000283/0.5531, allocations: 122.6 kB / 404.7 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00152/0.5547, allocations: 0.6369 MB / 405.4 MB, free: 11.64 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.978e-05/0.5548, allocations: 69.94 kB / 405.4 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002043/0.555, allocations: 84 kB / 405.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002722/0.5577, allocations: 0.9397 MB / 406.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/0.5578, allocations: 3.984 kB / 406.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001496/0.558, allocations: 36 kB / 406.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.04e-05/0.558, allocations: 23.95 kB / 406.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002409/0.5604, allocations: 0.7377 MB / 407.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007944/0.5684, allocations: 3.713 MB / 411 MB, free: 5.875 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002273/0.5707, allocations: 0.7869 MB / 411.8 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.792e-05/0.5708, allocations: 8.656 kB / 411.8 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00123/0.5721, allocations: 467.2 kB / 412.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of pre-optimization done (n=81): time 3.928e-06/0.5721, allocations: 0 / 412.2 MB, free: 4.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=81): time 0.009229/0.5813, allocations: 1.701 MB / 413.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001156/0.5815, allocations: 115.5 kB / 414 MB, free: 2.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5829, allocations: 0.6049 MB / 414.6 MB, free: 2.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001932/0.5831, allocations: 41.7 kB / 414.7 MB, free: 2.062 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/0.5836, allocations: 360.6 kB / 415 MB, free: 1.703 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003617/0.584, allocations: 236.6 kB / 415.3 MB, free: 1.469 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.795e-05/0.584, allocations: 16 kB / 415.3 MB, free: 1.453 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002226/0.5843, allocations: 382.8 kB / 415.7 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009687/0.5853, allocations: 269.9 kB / 415.9 MB, free: 0.8047 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/0.5863, allocations: 421.1 kB / 416.3 MB, free: 352 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009365/0.5873, allocations: 300.9 kB / 416.6 MB, free: 44 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.5873, allocations: 4 kB / 416.6 MB, free: 40 kB / 346.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.2547/0.842, allocations: 0.9451 MB / 417.6 MB, free: 90.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004524/0.8425, allocations: 1.342 MB / 418.9 MB, free: 88.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-05/0.8426, allocations: 4.031 kB / 418.9 MB, free: 88.65 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002176/0.8448, allocations: 296.2 kB / 419.2 MB, free: 88.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.846, allocations: 104 kB / 419.3 MB, free: 88.64 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/0.8574, allocations: 3.579 MB / 422.9 MB, free: 87.29 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.8591, allocations: 90.08 kB / 423 MB, free: 87.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00017/0.8593, allocations: 28.84 kB / 423 MB, free: 87.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/0.8593, allocations: 3.562 kB / 423 MB, free: 87.29 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003665/0.863, allocations: 0.8437 MB / 423.9 MB, free: 87.24 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.298e-05/0.8631, allocations: 3.406 kB / 423.9 MB, free: 87.24 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002054/0.8652, allocations: 308.2 kB / 424.2 MB, free: 87.22 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009952/0.8662, allocations: 89.05 kB / 424.2 MB, free: 87.22 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01114/0.8774, allocations: 3.564 MB / 427.8 MB, free: 85.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001451/0.8789, allocations: 80.02 kB / 427.9 MB, free: 85.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001554/0.8791, allocations: 24.59 kB / 427.9 MB, free: 85.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 32 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition2,$whenCondition1,$whenCondition4,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition3,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 24} Notification: Performance of prepare postOptimizeDAE: time 0.001007/0.8802, allocations: 350.6 kB / 428.3 MB, free: 84.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003445/0.8805, allocations: 82.72 kB / 428.3 MB, free: 84.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.881, allocations: 100.7 kB / 428.4 MB, free: 84.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/0.881, allocations: 9.625 kB / 428.4 MB, free: 84.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.881, allocations: 0 / 428.4 MB, free: 84.71 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-05/0.8811, allocations: 3.375 kB / 428.4 MB, free: 84.71 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006514/0.8876, allocations: 1.934 MB / 430.4 MB, free: 83.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/0.8877, allocations: 0 / 430.4 MB, free: 83.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008667/0.8886, allocations: 59.2 kB / 430.4 MB, free: 83.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002069/0.8907, allocations: 299.4 kB / 430.7 MB, free: 83.59 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.8909, allocations: 19.12 kB / 430.8 MB, free: 83.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/0.9014, allocations: 3.57 MB / 434.3 MB, free: 81.09 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/0.9015, allocations: 0 / 434.3 MB, free: 81.09 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005031/0.9065, allocations: 1.327 MB / 435.6 MB, free: 80.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008002/0.9074, allocations: 254.6 kB / 435.9 MB, free: 80.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002572/0.9077, allocations: 22.42 kB / 435.9 MB, free: 80.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001176/0.9089, allocations: 34.77 kB / 436 MB, free: 80.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004502/0.9094, allocations: 82.03 kB / 436 MB, free: 80.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.9095, allocations: 26.66 kB / 436.1 MB, free: 80.15 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001387/0.9109, allocations: 473.2 kB / 436.5 MB, free: 79.94 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.911, allocations: 3.875 kB / 436.5 MB, free: 79.94 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003182/0.9141, allocations: 437.3 kB / 437 MB, free: 79.88 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (meanCurrent.x,meanVoltage.x) * Number of discrete variables: 26 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y) * Number of discrete states: 4 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,signalPWM.zeroOrderHold.ySample) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {8 24} Notification: Performance of Backend phase and start with SimCode phase: time 0.005645/0.9199, allocations: 1.92 MB / 438.9 MB, free: 78.64 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00683/0.9267, allocations: 1.805 MB / 440.7 MB, free: 77.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/0.9268, allocations: 0 / 440.7 MB, free: 77.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002472/0.9293, allocations: 0.6664 MB / 441.3 MB, free: 76.46 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001939/0.9313, allocations: 149 kB / 441.5 MB, free: 76.34 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009428/0.9408, allocations: 4.513 MB / 446 MB, free: 71.93 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008194/0.9417, allocations: 1.012 MB / 447 MB, free: 71.02 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008831/0.9426, allocations: 80.17 kB / 447.1 MB, free: 70.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007637/0.9434, allocations: 297.6 kB / 447.4 MB, free: 70.71 MB / 346.7 MB Notification: Performance of SimCode: time 1.793e-06/0.9434, allocations: 3.062 kB / 447.4 MB, free: 70.71 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0724/1.016, allocations: 22.68 MB / 470.1 MB, free: 50.83 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002588/1.016, allocations: 232.9 kB / 470.3 MB, free: 50.59 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.64/4.656, allocations: 0 / 470.3 MB, free: 50.59 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R_res.mat does not exist to compare? outputFormat=mat