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: translateModel(Modelica.Electrical.PowerConverters.Examples.DCDC.HBridge.HBridge_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadModel(Modelica): time 2.184/2.184, allocations: 194.8 MB / 211.7 MB, free: 3.008 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003434, allocations: 8 kB / 264.6 MB, free: 12.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0943/0.09467, allocations: 44.5 MB / 309.1 MB, free: 368 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4743/0.569, allocations: 79.88 MB / 388.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004132/0.5695, allocations: 94.64 kB / 389 MB, free: 15.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07276/0.6423, allocations: 14.76 MB / 403.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.805e-06/0.6424, allocations: 4 kB / 403.8 MB, free: 12.57 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001098/0.6425, allocations: 23.38 kB / 403.8 MB, free: 12.56 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: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.003784/0.6463, allocations: 1.141 MB / 405 MB, free: 11.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.6464, allocations: 7.656 kB / 405 MB, free: 11.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003343/0.6467, allocations: 116.9 kB / 405.1 MB, free: 11.7 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001356/0.6481, allocations: 0.6343 MB / 405.7 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.89e-05/0.6482, allocations: 65.66 kB / 405.8 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001712/0.6483, allocations: 90.86 kB / 405.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/0.6506, allocations: 0.9382 MB / 406.8 MB, free: 11 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/0.6507, allocations: 7.875 kB / 406.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000122/0.6508, allocations: 35.72 kB / 406.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.149e-05/0.6508, allocations: 19.44 kB / 406.9 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002105/0.6529, allocations: 0.7368 MB / 407.6 MB, free: 10.89 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006611/0.6596, allocations: 3.725 MB / 411.3 MB, free: 8.844 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.6617, allocations: 0.8051 MB / 412.1 MB, free: 8.738 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.078e-05/0.6618, allocations: 8.406 kB / 412.1 MB, free: 8.738 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001136/0.6629, allocations: 483.8 kB / 412.6 MB, free: 8.566 MB / 314.7 MB Notification: Performance of pre-optimization done (n=82): time 3.757e-06/0.6629, allocations: 0 / 412.6 MB, free: 8.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=82): time 0.01067/0.6736, allocations: 1.757 MB / 414.4 MB, free: 8 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.6738, allocations: 118.3 kB / 414.5 MB, free: 7.871 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002074/0.6759, allocations: 0.6476 MB / 415.1 MB, free: 7.656 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002829/0.6762, allocations: 48.59 kB / 415.2 MB, free: 7.621 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006092/0.6769, allocations: 346.1 kB / 415.5 MB, free: 7.441 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004592/0.6773, allocations: 244.5 kB / 415.8 MB, free: 7.273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001119/0.6775, allocations: 15.41 kB / 415.8 MB, free: 7.273 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002201/0.6777, allocations: 384.9 kB / 416.1 MB, free: 6.934 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/0.6791, allocations: 275.5 kB / 416.4 MB, free: 6.898 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001567/0.6807, allocations: 416.3 kB / 416.8 MB, free: 6.711 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/0.682, allocations: 306 kB / 417.1 MB, free: 6.656 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.027e-05/0.682, allocations: 7.875 kB / 417.1 MB, free: 6.652 MB / 314.7 MB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003991/0.686, allocations: 0.9478 MB / 418.1 MB, free: 6.445 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001889/0.6863, allocations: 222.5 kB / 418.3 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.6863, allocations: 7.828 kB / 418.3 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/0.6885, allocations: 293.5 kB / 418.6 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.6897, allocations: 97.3 kB / 418.7 MB, free: 6.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01136/0.7011, allocations: 3.576 MB / 422.3 MB, free: 4.41 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.7026, allocations: 84.45 kB / 422.3 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001283/0.7028, allocations: 26.28 kB / 422.4 MB, free: 4.367 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.7028, allocations: 3.844 kB / 422.4 MB, free: 4.367 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003607/0.7064, allocations: 0.8475 MB / 423.2 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/0.7065, allocations: 3.875 kB / 423.2 MB, free: 4.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002068/0.7086, allocations: 298.9 kB / 423.5 MB, free: 4.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/0.7096, allocations: 98.14 kB / 423.6 MB, free: 4.152 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01124/0.7209, allocations: 3.558 MB / 427.2 MB, free: 2.457 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.7223, allocations: 81.23 kB / 427.2 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.7225, allocations: 25.69 kB / 427.3 MB, free: 2.414 MB / 314.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.001191/0.7237, allocations: 343.6 kB / 427.6 MB, free: 2.141 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003702/0.7241, allocations: 77.81 kB / 427.7 MB, free: 2.102 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004281/0.7246, allocations: 95.52 kB / 427.8 MB, free: 2.02 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-05/0.7246, allocations: 15.27 kB / 427.8 MB, free: 2.012 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.7246, allocations: 4 kB / 427.8 MB, free: 2.008 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/0.7247, allocations: 7.859 kB / 427.8 MB, free: 2.004 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007348/0.732, allocations: 1.983 MB / 429.8 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.337e-05/0.7321, allocations: 0 / 429.8 MB, free: 0.6367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009174/0.7331, allocations: 78.47 kB / 429.9 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002125/0.7352, allocations: 298.6 kB / 430.2 MB, free: 468 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001913/0.7355, allocations: 15.84 kB / 430.2 MB, free: 456 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01249/0.748, allocations: 3.559 MB / 433.7 MB, free: 13.7 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-05/0.7481, allocations: 11.89 kB / 433.7 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006314/0.7544, allocations: 1.385 MB / 435.1 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00104/0.7555, allocations: 248.8 kB / 435.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003093/0.7559, allocations: 26.42 kB / 435.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.757, allocations: 39.27 kB / 435.4 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00045/0.7575, allocations: 88.48 kB / 435.5 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.7576, allocations: 23.08 kB / 435.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00136/0.759, allocations: 456.8 kB / 436 MB, free: 12.3 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.72e-07/0.759, allocations: 0 / 436 MB, free: 12.3 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003039/0.7621, allocations: 438.8 kB / 436.4 MB, free: 12.21 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (51): * Single equations (assignments): 44 * 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.0004424/0.7626, allocations: 147.6 kB / 436.6 MB, free: 12.09 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.007584/0.7702, allocations: 1.823 MB / 438.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.224e-05/0.7703, allocations: 4.312 kB / 438.4 MB, free: 10.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002999/0.7733, allocations: 0.6944 MB / 439.1 MB, free: 10.51 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001857/0.7753, allocations: 144.5 kB / 439.2 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00791/0.7832, allocations: 1.883 MB / 441.1 MB, free: 9.199 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/0.7845, allocations: 1.013 MB / 442.1 MB, free: 8.352 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009572/0.7855, allocations: 81.16 kB / 442.2 MB, free: 8.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.7858, allocations: 54.53 kB / 442.3 MB, free: 8.293 MB / 330.7 MB Notification: Performance of SimCode: time 1.543e-06/0.7858, allocations: 0 / 442.3 MB, free: 8.293 MB / 330.7 MB Notification: Performance of Templates: time 0.06999/0.8558, allocations: 15.99 MB / 458.2 MB, free: 8.402 MB / 346.7 MB