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_RL.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_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_DCDC_HBridge_HBridge_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.232/2.232, allocations: 194.9 MB / 211.1 MB, free: 7.586 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000545/0.0005452, allocations: 12 kB / 264.1 MB, free: 2.484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4046/0.4052, allocations: 44.5 MB / 308.6 MB, free: 12.64 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/0.6069, allocations: 80.19 MB / 388.8 MB, free: 12.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004723/0.6075, allocations: 87.94 kB / 388.9 MB, free: 12.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09026/0.6978, allocations: 15.1 MB / 404 MB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.067e-06/0.6978, allocations: 0 / 404 MB, free: 13.04 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001275/0.698, allocations: 24 kB / 404 MB, free: 13.02 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: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.005196/0.7032, allocations: 1.16 MB / 405.1 MB, free: 11.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.733e-05/0.7033, allocations: 15.95 kB / 405.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006234/0.7039, allocations: 139.5 kB / 405.3 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005058/0.7045, allocations: 110.7 kB / 405.4 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002557/0.707, allocations: 0.6409 MB / 406 MB, free: 10.84 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001075/0.7072, allocations: 66 kB / 406.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003204/0.7075, allocations: 84 kB / 406.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002847/0.7104, allocations: 0.9592 MB / 407.2 MB, free: 9.684 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.713e-05/0.7105, allocations: 7.984 kB / 407.2 MB, free: 9.676 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001464/0.7106, allocations: 39.95 kB / 407.2 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.7107, allocations: 20 kB / 407.2 MB, free: 9.617 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.7133, allocations: 0.7495 MB / 408 MB, free: 8.867 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00855/0.7219, allocations: 3.767 MB / 411.7 MB, free: 4.988 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002333/0.7243, allocations: 0.7937 MB / 412.5 MB, free: 4.184 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.317e-05/0.7244, allocations: 12.66 kB / 412.5 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001283/0.7257, allocations: 476.3 kB / 413 MB, free: 3.688 MB / 346.7 MB Notification: Performance of pre-optimization done (n=83): time 3.727e-06/0.7258, allocations: 4 kB / 413 MB, free: 3.684 MB / 346.7 MB Notification: Performance of matching and sorting (n=83): time 0.006876/0.7326, allocations: 1.567 MB / 414.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.311e-05/0.7328, allocations: 115.8 kB / 414.7 MB, free: 1.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00139/0.7342, allocations: 0.6089 MB / 415.3 MB, free: 1.316 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001491/0.7344, allocations: 49.69 kB / 415.3 MB, free: 1.262 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004151/0.7348, allocations: 360.7 kB / 415.7 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003377/0.7351, allocations: 244.5 kB / 415.9 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.042e-05/0.7352, allocations: 16 kB / 416 MB, free: 0.6445 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002264/0.7355, allocations: 386.8 kB / 416.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2487/0.9841, allocations: 269.3 kB / 416.6 MB, free: 89.63 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/0.9855, allocations: 417 kB / 417 MB, free: 89.49 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.9867, allocations: 315.1 kB / 417.3 MB, free: 89.46 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/0.9867, allocations: 1.406 kB / 417.3 MB, free: 89.46 MB / 346.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.003076/0.9898, allocations: 0.962 MB / 418.3 MB, free: 89.36 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003475/0.9902, allocations: 1.339 MB / 419.6 MB, free: 87.97 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.9902, allocations: 6.438 kB / 419.6 MB, free: 87.97 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001526/0.9918, allocations: 289.8 kB / 419.9 MB, free: 87.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/0.9926, allocations: 110.7 kB / 420 MB, free: 87.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00751/1, allocations: 4.661 MB / 424.7 MB, free: 85.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/1.001, allocations: 92.75 kB / 424.8 MB, free: 85.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.673e-05/1.001, allocations: 30.72 kB / 424.8 MB, free: 85.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/1.001, allocations: 3.344 kB / 424.8 MB, free: 85.31 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00222/1.004, allocations: 0.8569 MB / 425.7 MB, free: 85.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/1.004, allocations: 3.938 kB / 425.7 MB, free: 85.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001199/1.005, allocations: 293.3 kB / 425.9 MB, free: 85.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006973/1.006, allocations: 101.9 kB / 426 MB, free: 85.23 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006992/1.013, allocations: 4.657 MB / 430.7 MB, free: 81.77 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009741/1.014, allocations: 77.44 kB / 430.8 MB, free: 81.74 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/1.014, allocations: 34.83 kB / 430.8 MB, free: 81.73 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 (70): * Single equations (assignments): 67 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0006849/1.014, allocations: 346.8 kB / 431.1 MB, free: 81.46 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/1.015, allocations: 83.62 kB / 431.2 MB, free: 81.42 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/1.015, allocations: 101.2 kB / 431.3 MB, free: 81.34 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.015, allocations: 10.19 kB / 431.3 MB, free: 81.34 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.015, allocations: 0 / 431.3 MB, free: 81.34 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/1.015, allocations: 5.016 kB / 431.3 MB, free: 81.34 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004107/1.019, allocations: 1.957 MB / 433.3 MB, free: 80.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/1.019, allocations: 0 / 433.3 MB, free: 80.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006278/1.02, allocations: 71.22 kB / 433.4 MB, free: 80.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00123/1.021, allocations: 292.9 kB / 433.7 MB, free: 80.19 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001042/1.021, allocations: 11.69 kB / 433.7 MB, free: 80.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007055/1.028, allocations: 4.662 MB / 438.3 MB, free: 76.42 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.028, allocations: 0 / 438.3 MB, free: 76.42 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00341/1.032, allocations: 1.342 MB / 439.7 MB, free: 75.71 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005603/1.032, allocations: 256.9 kB / 439.9 MB, free: 75.5 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/1.033, allocations: 23.12 kB / 439.9 MB, free: 75.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007508/1.033, allocations: 37.97 kB / 440 MB, free: 75.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/1.034, allocations: 86.14 kB / 440.1 MB, free: 75.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.749e-05/1.034, allocations: 26.95 kB / 440.1 MB, free: 75.45 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009071/1.035, allocations: 474.7 kB / 440.6 MB, free: 75.23 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.513e-06/1.035, allocations: 0 / 440.6 MB, free: 75.23 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002633/1.037, allocations: 452.5 kB / 441 MB, free: 75.14 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanCurrent.x,meanVoltage.x,inductor.i) * 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 (55): * Single equations (assignments): 47 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003947/1.041, allocations: 1.935 MB / 442.9 MB, free: 73.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004465/1.046, allocations: 1.989 MB / 444.9 MB, free: 72.22 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.046, allocations: 4.062 kB / 444.9 MB, free: 72.22 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001635/1.048, allocations: 0.7563 MB / 445.7 MB, free: 71.5 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001169/1.049, allocations: 151.6 kB / 445.8 MB, free: 71.38 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006076/1.055, allocations: 4.622 MB / 450.4 MB, free: 66.88 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006302/1.056, allocations: 1.021 MB / 451.5 MB, free: 65.96 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.00063/1.056, allocations: 88.33 kB / 451.6 MB, free: 65.9 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005275/1.057, allocations: 300.8 kB / 451.8 MB, free: 65.63 MB / 346.7 MB Notification: Performance of SimCode: time 1.092e-06/1.057, allocations: 0 / 451.8 MB, free: 65.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0645/1.121, allocations: 22.71 MB / 474.6 MB, free: 45.79 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002727/1.122, allocations: 230 kB / 474.8 MB, free: 45.55 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.899/5.021, allocations: 0 / 474.8 MB, free: 45.55 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_RL_res.mat does not exist to compare? outputFormat=mat