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: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.y|meanVoltage.y|hbridge.dc_n1.v|hbridge.dc_n1.i|hbridge.dc_p1.v|hbridge.dc_p1.i|hbridge.dc_n2.v|hbridge.dc_n2.i|hbridge.dc_p2.v|hbridge.dc_p2.i",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_RL") Notification: Performance of loadModel(Modelica): time 2.173/2.173, allocations: 194.9 MB / 211.7 MB, free: 3 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003343/0.0003344, allocations: 8 kB / 264.6 MB, free: 12.91 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 44.5 MB / 309.1 MB, free: 348 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4579/0.5698, allocations: 80.18 MB / 389.2 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/0.5702, allocations: 90.28 kB / 389.3 MB, free: 15.33 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05595/0.6262, allocations: 15.1 MB / 404.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.926e-06/0.6263, allocations: 0 / 404.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.187e-05/0.6264, allocations: 26.81 kB / 404.5 MB, free: 12.25 MB / 314.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.003431/0.6298, allocations: 1.157 MB / 405.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.915e-05/0.6299, allocations: 11.72 kB / 405.6 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005248/0.6304, allocations: 109.1 kB / 405.7 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.6321, allocations: 0.6377 MB / 406.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.417e-05/0.6322, allocations: 72 kB / 406.4 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002131/0.6325, allocations: 91.38 kB / 406.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/0.6351, allocations: 0.9571 MB / 407.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.079e-05/0.6352, allocations: 3.875 kB / 407.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001373/0.6353, allocations: 36.06 kB / 407.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.6354, allocations: 31.14 kB / 407.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002463/0.6378, allocations: 0.7466 MB / 408.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007835/0.6457, allocations: 3.766 MB / 412.1 MB, free: 8.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.6481, allocations: 0.8175 MB / 412.9 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001029/0.6482, allocations: 12.27 kB / 412.9 MB, free: 8.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001334/0.6495, allocations: 488 kB / 413.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of pre-optimization done (n=84): time 4.368e-06/0.6496, allocations: 0 / 413.4 MB, free: 8.215 MB / 314.7 MB Notification: Performance of matching and sorting (n=84): time 0.006916/0.6565, allocations: 1.626 MB / 415 MB, free: 7.668 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.617e-05/0.6567, allocations: 113 kB / 415.1 MB, free: 7.543 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001218/0.6579, allocations: 0.6604 MB / 415.8 MB, free: 7.324 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002242/0.6581, allocations: 52.05 kB / 415.8 MB, free: 7.289 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.6585, allocations: 354.5 kB / 416.2 MB, free: 7.102 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003462/0.6589, allocations: 252.2 kB / 416.4 MB, free: 6.926 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.516e-05/0.6589, allocations: 16.53 kB / 416.4 MB, free: 6.926 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001606/0.6591, allocations: 383.4 kB / 416.8 MB, free: 6.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009493/0.6601, allocations: 272.6 kB / 417.1 MB, free: 6.559 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/0.6612, allocations: 425.2 kB / 417.5 MB, free: 6.367 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009972/0.6622, allocations: 308.7 kB / 417.8 MB, free: 6.312 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/0.6623, allocations: 3.906 kB / 417.8 MB, free: 6.312 MB / 314.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002889/0.6652, allocations: 0.9618 MB / 418.8 MB, free: 6.098 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.6654, allocations: 223.6 kB / 419 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.6654, allocations: 3.844 kB / 419 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.6668, allocations: 287.1 kB / 419.3 MB, free: 5.785 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008297/0.6676, allocations: 107.7 kB / 419.4 MB, free: 5.762 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007577/0.6752, allocations: 4.668 MB / 424 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/0.6764, allocations: 82.75 kB / 424.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.6766, allocations: 27.31 kB / 424.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.6766, allocations: 3.844 kB / 424.1 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0024/0.679, allocations: 0.8572 MB / 425 MB, free: 2.547 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.347e-05/0.6791, allocations: 7.828 kB / 425 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00129/0.6804, allocations: 283.9 kB / 425.3 MB, free: 2.484 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/0.6813, allocations: 104.5 kB / 425.4 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008017/0.6893, allocations: 4.655 MB / 430 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.6904, allocations: 78.53 kB / 430.1 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/0.6906, allocations: 25.16 kB / 430.1 MB, free: 15.39 MB / 330.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.0009225/0.6916, allocations: 344.3 kB / 430.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002964/0.6919, allocations: 89.58 kB / 430.6 MB, free: 15.12 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000377/0.6923, allocations: 99.91 kB / 430.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.6923, allocations: 11.75 kB / 430.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.6923, allocations: 0 / 430.7 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.411e-05/0.6923, allocations: 7.922 kB / 430.7 MB, free: 15.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00566/0.698, allocations: 2.014 MB / 432.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.6981, allocations: 0 / 432.7 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/0.6988, allocations: 86.42 kB / 432.8 MB, free: 13.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001402/0.7003, allocations: 296.7 kB / 433.1 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001633/0.7005, allocations: 15.17 kB / 433.1 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008864/0.7094, allocations: 4.638 MB / 437.7 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/0.7094, allocations: 4.031 kB / 437.7 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/0.7136, allocations: 1.413 MB / 439.1 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007407/0.7144, allocations: 254.8 kB / 439.4 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002374/0.7147, allocations: 19.86 kB / 439.4 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008274/0.7155, allocations: 39.23 kB / 439.5 MB, free: 8.324 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/0.7159, allocations: 91.36 kB / 439.5 MB, free: 8.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.726e-05/0.716, allocations: 19.62 kB / 439.6 MB, free: 8.266 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009218/0.7169, allocations: 461.1 kB / 440 MB, free: 8 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.717, allocations: 0 / 440 MB, free: 8 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002465/0.7194, allocations: 446.4 kB / 440.4 MB, free: 7.91 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (56): * Single equations (assignments): 48 * 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.0004097/0.7199, allocations: 142.6 kB / 440.6 MB, free: 7.793 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005589/0.7255, allocations: 2.006 MB / 442.6 MB, free: 6.441 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/0.7256, allocations: 0.875 kB / 442.6 MB, free: 6.441 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002086/0.7277, allocations: 0.795 MB / 443.4 MB, free: 5.887 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00126/0.729, allocations: 148 kB / 443.5 MB, free: 5.812 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005131/0.7341, allocations: 1.974 MB / 445.5 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/0.735, allocations: 1.02 MB / 446.5 MB, free: 3.625 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0006549/0.7357, allocations: 86.69 kB / 446.6 MB, free: 3.535 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002161/0.7359, allocations: 51.42 kB / 446.7 MB, free: 3.484 MB / 330.7 MB Notification: Performance of SimCode: time 1.233e-06/0.7359, allocations: 0 / 446.7 MB, free: 3.484 MB / 330.7 MB Notification: Performance of Templates: time 0.04675/0.7827, allocations: 15.88 MB / 462.5 MB, free: 3.652 MB / 346.7 MB