Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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.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.588/1.588, allocations: 194.8 MB / 212.3 MB, free: 3.004 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003067, allocations: 12 kB / 264.5 MB, free: 13.6 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0824/0.08272, allocations: 44.49 MB / 309 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3552/0.438, allocations: 79.34 MB / 388.3 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002811/0.4384, allocations: 92.73 kB / 388.4 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06508/0.5034, allocations: 20.37 MB / 408.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5035, allocations: 0 / 408.8 MB, free: 10.32 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.523e-05/0.5036, allocations: 27.09 kB / 408.8 MB, free: 10.32 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.003189/0.5068, allocations: 1.429 MB / 410.2 MB, free: 9.375 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.5068, allocations: 11.69 kB / 410.3 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002817/0.5071, allocations: 139.9 kB / 410.4 MB, free: 9.305 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004757/0.5119, allocations: 1.682 MB / 412.1 MB, free: 8.605 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.853e-05/0.512, allocations: 70.44 kB / 412.1 MB, free: 8.602 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001927/0.5122, allocations: 105.7 kB / 412.2 MB, free: 8.594 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002821/0.515, allocations: 1.424 MB / 413.7 MB, free: 8.152 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.748e-05/0.5151, allocations: 7.484 kB / 413.7 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001337/0.5152, allocations: 37.81 kB / 413.7 MB, free: 8.148 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.369e-05/0.5153, allocations: 40.75 kB / 413.8 MB, free: 8.145 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.5179, allocations: 1.236 MB / 415 MB, free: 7.938 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007654/0.5256, allocations: 4.342 MB / 419.3 MB, free: 5.949 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002197/0.5278, allocations: 1.972 MB / 421.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.263e-05/0.5279, allocations: 8.375 kB / 421.3 MB, free: 4.617 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.529, allocations: 0.5998 MB / 421.9 MB, free: 4.398 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 2.835e-06/0.5291, allocations: 3.938 kB / 421.9 MB, free: 4.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.01019/0.5393, allocations: 2.727 MB / 424.6 MB, free: 3.445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.932e-05/0.5393, allocations: 114.5 kB / 424.8 MB, free: 3.316 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001238/0.5406, allocations: 0.8211 MB / 425.6 MB, free: 3.055 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.82e-05/0.5407, allocations: 39.95 kB / 425.6 MB, free: 3.023 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003426/0.541, allocations: 498.6 kB / 426.1 MB, free: 2.703 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/0.5412, allocations: 242 kB / 426.3 MB, free: 2.535 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.555e-05/0.5413, allocations: 15.94 kB / 426.4 MB, free: 2.535 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.199e-05/0.5414, allocations: 338.2 kB / 426.7 MB, free: 2.215 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008262/0.5422, allocations: 393.9 kB / 427.1 MB, free: 2.148 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009201/0.5431, allocations: 0.5522 MB / 427.6 MB, free: 1.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008855/0.544, allocations: 442.6 kB / 428.1 MB, free: 1.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.544, allocations: 0 / 428.1 MB, free: 1.84 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002525/0.5466, allocations: 1.241 MB / 429.3 MB, free: 1.578 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.5466, allocations: 15.84 kB / 429.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.5466, allocations: 3.875 kB / 429.3 MB, free: 1.566 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001541/0.5482, allocations: 471 kB / 429.8 MB, free: 1.457 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/0.5488, allocations: 91.52 kB / 429.9 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009261/0.558, allocations: 5.298 MB / 435.2 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008874/0.559, allocations: 82.34 kB / 435.2 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.559, allocations: 27.25 kB / 435.3 MB, free: 14.05 MB / 330.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.0009338/0.56, allocations: 458.2 kB / 435.7 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001638/0.5602, allocations: 89.84 kB / 435.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.5604, allocations: 111.7 kB / 435.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.5605, allocations: 7.75 kB / 435.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5605, allocations: 0 / 435.9 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.5605, allocations: 3.984 kB / 435.9 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005475/0.566, allocations: 2.637 MB / 438.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.566, allocations: 3.938 kB / 438.6 MB, free: 11.95 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004718/0.5665, allocations: 62.38 kB / 438.6 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.568, allocations: 458 kB / 439.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.596e-05/0.5681, allocations: 19.86 kB / 439.1 MB, free: 11.68 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01011/0.5782, allocations: 5.272 MB / 444.4 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5782, allocations: 0 / 444.4 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004313/0.5826, allocations: 1.93 MB / 446.3 MB, free: 4.793 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005727/0.5832, allocations: 267.9 kB / 446.6 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.5834, allocations: 20.11 kB / 446.6 MB, free: 4.492 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006647/0.584, allocations: 51.95 kB / 446.6 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000235/0.5843, allocations: 68.55 kB / 446.7 MB, free: 4.375 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.576e-05/0.5844, allocations: 31.92 kB / 446.7 MB, free: 4.344 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001112/0.5855, allocations: 0.581 MB / 447.3 MB, free: 3.77 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5855, allocations: 0 / 447.3 MB, free: 3.77 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001228/0.5867, allocations: 339.1 kB / 447.6 MB, free: 3.438 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.0002545/0.587, allocations: 135 kB / 447.8 MB, free: 3.297 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003029/0.59, allocations: 1.278 MB / 449.1 MB, free: 2.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5901, allocations: 4.062 kB / 449.1 MB, free: 2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001899/0.592, allocations: 0.8316 MB / 449.9 MB, free: 1.148 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.5935, allocations: 250.8 kB / 450.1 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/0.5991, allocations: 2.668 MB / 452.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001171/0.6003, allocations: 1.311 MB / 454.1 MB, free: 12.86 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.6006, allocations: 59.42 kB / 454.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6006, allocations: 0 / 454.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of Templates: time 0.0349/0.6355, allocations: 19.73 MB / 473.9 MB, free: 9.086 MB / 362.7 MB