Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.769/1.769, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003637/0.0003638, allocations: 8 kB / 264 MB, free: 13.54 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07988/0.08027, allocations: 44.51 MB / 308.5 MB, free: 0.9688 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.333/0.4133, allocations: 79.34 MB / 387.8 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002477/0.4136, allocations: 87.22 kB / 387.9 MB, free: 18.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0681/0.4817, allocations: 20.38 MB / 408.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.279e-06/0.4817, allocations: 0 / 408.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.854e-05/0.4819, allocations: 35.44 kB / 408.3 MB, free: 14.57 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002936/0.4848, allocations: 1.418 MB / 409.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.997e-05/0.4849, allocations: 7.75 kB / 409.7 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004391/0.4853, allocations: 143.9 kB / 409.9 MB, free: 13.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005173/0.4905, allocations: 1.688 MB / 411.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.775e-05/0.4906, allocations: 71.78 kB / 411.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.4908, allocations: 96.75 kB / 411.7 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002939/0.4938, allocations: 1.412 MB / 413.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.134e-05/0.4939, allocations: 3.938 kB / 413.1 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.494, allocations: 47.25 kB / 413.2 MB, free: 12.4 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.987e-05/0.4941, allocations: 48.34 kB / 413.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002705/0.4968, allocations: 1.224 MB / 414.5 MB, free: 12.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007271/0.5041, allocations: 4.337 MB / 418.8 MB, free: 10.22 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/0.5062, allocations: 1.977 MB / 420.8 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.5063, allocations: 8.344 kB / 420.8 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/0.5073, allocations: 0.5973 MB / 421.4 MB, free: 8.668 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 4.107e-06/0.5074, allocations: 3.938 kB / 421.4 MB, free: 8.664 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.008122/0.5155, allocations: 2.729 MB / 424.1 MB, free: 7.711 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.5156, allocations: 115.3 kB / 424.2 MB, free: 7.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/0.5168, allocations: 0.7326 MB / 425 MB, free: 7.348 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001405/0.517, allocations: 48.44 kB / 425 MB, free: 7.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003822/0.5174, allocations: 493 kB / 425.5 MB, free: 6.992 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.5176, allocations: 245.9 kB / 425.7 MB, free: 6.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.33e-05/0.5177, allocations: 11.5 kB / 425.7 MB, free: 6.824 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.855e-05/0.5178, allocations: 345.3 kB / 426.1 MB, free: 6.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000795/0.5186, allocations: 395.5 kB / 426.5 MB, free: 6.43 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008248/0.5194, allocations: 0.5395 MB / 427 MB, free: 6.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000813/0.5203, allocations: 446.4 kB / 427.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.965e-06/0.5203, allocations: 0 / 427.4 MB, free: 6.129 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00243/0.5227, allocations: 1.24 MB / 428.7 MB, free: 5.863 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.822e-05/0.5228, allocations: 11.58 kB / 428.7 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5228, allocations: 3.906 kB / 428.7 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.5242, allocations: 475.9 kB / 429.2 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004943/0.5247, allocations: 95.08 kB / 429.3 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008189/0.5329, allocations: 5.284 MB / 434.5 MB, free: 2.852 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.5338, allocations: 90.56 kB / 434.6 MB, free: 2.793 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/0.5339, allocations: 27.47 kB / 434.7 MB, free: 2.785 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 30} Notification: Performance of prepare postOptimizeDAE: time 0.0008288/0.5347, allocations: 463.3 kB / 435.1 MB, free: 2.461 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.5349, allocations: 85.97 kB / 435.2 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002228/0.5351, allocations: 107.8 kB / 435.3 MB, free: 2.332 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.478e-06/0.5351, allocations: 11.69 kB / 435.3 MB, free: 2.328 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.238e-06/0.5352, allocations: 11.98 kB / 435.3 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.11e-06/0.5352, allocations: 0 / 435.3 MB, free: 2.316 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00469/0.5399, allocations: 2.627 MB / 437.9 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.895e-06/0.5399, allocations: 3.984 kB / 437.9 MB, free: 0.6758 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.5403, allocations: 62.75 kB / 438 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001336/0.5417, allocations: 458.7 kB / 438.5 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.272e-05/0.5418, allocations: 11.78 kB / 438.5 MB, free: 428 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00976/0.5516, allocations: 5.288 MB / 443.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.4e-06/0.5516, allocations: 0 / 443.8 MB, free: 11.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004238/0.5559, allocations: 1.923 MB / 445.7 MB, free: 9.953 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007135/0.5566, allocations: 271.9 kB / 445.9 MB, free: 9.668 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.5568, allocations: 12 kB / 446 MB, free: 9.656 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.5574, allocations: 52.08 kB / 446 MB, free: 9.605 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002773/0.5577, allocations: 72.53 kB / 446.1 MB, free: 9.535 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.041e-05/0.5578, allocations: 16 kB / 446.1 MB, free: 9.52 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001148/0.559, allocations: 0.5888 MB / 446.7 MB, free: 8.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.44e-07/0.559, allocations: 4 kB / 446.7 MB, free: 8.93 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001441/0.5604, allocations: 339.1 kB / 447 MB, free: 8.598 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 {6 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002718/0.5607, allocations: 138.9 kB / 447.2 MB, free: 8.457 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003046/0.5638, allocations: 1.281 MB / 448.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.913e-06/0.5638, allocations: 0 / 448.4 MB, free: 7.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001867/0.5657, allocations: 0.8324 MB / 449.3 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/0.5672, allocations: 258.8 kB / 449.5 MB, free: 6.062 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005825/0.573, allocations: 2.658 MB / 452.2 MB, free: 3.375 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.5745, allocations: 1.319 MB / 453.5 MB, free: 2.027 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.5748, allocations: 47.44 kB / 453.5 MB, free: 1.984 MB / 330.7 MB Notification: Performance of SimCode: time 1.616e-06/0.5748, allocations: 0 / 453.5 MB, free: 1.984 MB / 330.7 MB Notification: Performance of Templates: time 0.0349/0.6097, allocations: 19.75 MB / 473.3 MB, free: 14.26 MB / 362.7 MB