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.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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse") Notification: Performance of loadModel(Modelica): time 2.269/2.269, allocations: 194.9 MB / 211.7 MB, free: 2.871 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005287/0.0005288, allocations: 8 kB / 264.6 MB, free: 12.88 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1037, allocations: 44.5 MB / 309.1 MB, free: 328 kB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.43/0.5338, allocations: 79.34 MB / 388.4 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003996/0.5343, allocations: 97.25 kB / 388.5 MB, free: 15.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09124/0.6255, allocations: 20.38 MB / 408.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.16e-06/0.6256, allocations: 0 / 408.9 MB, free: 10.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003082/0.626, allocations: 26.72 kB / 408.9 MB, free: 10.4 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.007819/0.6338, allocations: 1.433 MB / 410.3 MB, free: 9.457 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.069e-05/0.6339, allocations: 7.75 kB / 410.3 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009254/0.6348, allocations: 143.4 kB / 410.5 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009166/0.644, allocations: 1.68 MB / 412.2 MB, free: 8.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/0.6442, allocations: 71.53 kB / 412.2 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005513/0.6448, allocations: 102.9 kB / 412.3 MB, free: 8.676 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005682/0.6505, allocations: 1.426 MB / 413.8 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.235e-05/0.6506, allocations: 0 / 413.8 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002496/0.6509, allocations: 43.03 kB / 413.8 MB, free: 8.227 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.767e-05/0.651, allocations: 36.62 kB / 413.8 MB, free: 8.223 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005521/0.6566, allocations: 1.235 MB / 415.1 MB, free: 8.016 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01561/0.6722, allocations: 4.34 MB / 419.4 MB, free: 6.031 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/0.6767, allocations: 1.969 MB / 421.4 MB, free: 4.699 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001316/0.6769, allocations: 12.52 kB / 421.4 MB, free: 4.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002325/0.6793, allocations: 0.5998 MB / 422 MB, free: 4.48 MB / 314.7 MB Notification: Performance of pre-optimization done (n=75): time 6.241e-06/0.6793, allocations: 3.938 kB / 422 MB, free: 4.477 MB / 314.7 MB Notification: Performance of matching and sorting (n=75): time 0.0164/0.6957, allocations: 2.722 MB / 424.7 MB, free: 3.527 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.234e-05/0.6959, allocations: 115.2 kB / 424.8 MB, free: 3.398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.6974, allocations: 0.8203 MB / 425.7 MB, free: 3.141 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001764/0.6976, allocations: 39.45 kB / 425.7 MB, free: 3.109 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.6981, allocations: 486.4 kB / 426.2 MB, free: 2.844 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002855/0.6984, allocations: 243.1 kB / 426.4 MB, free: 2.672 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.833e-05/0.6985, allocations: 14.69 kB / 426.4 MB, free: 2.672 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.6986, allocations: 393.9 kB / 426.8 MB, free: 2.332 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009756/0.6996, allocations: 398.6 kB / 427.2 MB, free: 2.266 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001091/0.7007, allocations: 0.5367 MB / 427.7 MB, free: 2.035 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.7018, allocations: 445.6 kB / 428.2 MB, free: 1.965 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/0.7018, allocations: 0 / 428.2 MB, free: 1.965 MB / 314.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.003153/0.705, allocations: 1.297 MB / 429.5 MB, free: 1.668 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.294e-05/0.705, allocations: 11.83 kB / 429.5 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.7051, allocations: 4.281 kB / 429.5 MB, free: 1.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/0.7068, allocations: 477.4 kB / 429.9 MB, free: 1.547 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007022/0.7075, allocations: 99.67 kB / 430 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01119/0.7187, allocations: 5.285 MB / 435.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.7199, allocations: 86.62 kB / 435.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.72, allocations: 23.38 kB / 435.4 MB, free: 14.11 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.001112/0.7211, allocations: 463.3 kB / 435.9 MB, free: 13.78 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/0.7214, allocations: 85.72 kB / 436 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003409/0.7217, allocations: 111.8 kB / 436.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.7218, allocations: 7.844 kB / 436.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.7218, allocations: 0 / 436.1 MB, free: 13.65 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.7218, allocations: 7.859 kB / 436.1 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006766/0.7286, allocations: 2.624 MB / 438.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.7286, allocations: 3.938 kB / 438.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005565/0.7292, allocations: 73.45 kB / 438.8 MB, free: 11.98 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0018/0.731, allocations: 452.9 kB / 439.2 MB, free: 11.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001349/0.7312, allocations: 20 kB / 439.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/0.7446, allocations: 5.282 MB / 444.5 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.7446, allocations: 0 / 444.5 MB, free: 6.184 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007296/0.7519, allocations: 1.927 MB / 446.5 MB, free: 4.238 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/0.7532, allocations: 271.9 kB / 446.7 MB, free: 3.953 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004311/0.7537, allocations: 16 kB / 446.7 MB, free: 3.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/0.755, allocations: 43.95 kB / 446.8 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004695/0.7555, allocations: 76.53 kB / 446.9 MB, free: 3.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/0.7556, allocations: 20 kB / 446.9 MB, free: 3.801 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.00189/0.7575, allocations: 0.5849 MB / 447.5 MB, free: 3.223 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.242e-06/0.7576, allocations: 0 / 447.5 MB, free: 3.223 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002519/0.7601, allocations: 347 kB / 447.8 MB, free: 2.883 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.0005423/0.7607, allocations: 139.1 kB / 447.9 MB, free: 2.738 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005255/0.766, allocations: 1.278 MB / 449.2 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.014e-05/0.7661, allocations: 0.875 kB / 449.2 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003354/0.7694, allocations: 0.8433 MB / 450.1 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002715/0.7722, allocations: 250.8 kB / 450.3 MB, free: 348 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01024/0.7825, allocations: 2.647 MB / 453 MB, free: 13.67 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002303/0.7849, allocations: 1.341 MB / 454.3 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001196/0.7861, allocations: 143.2 kB / 454.4 MB, free: 12.15 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003481/0.7865, allocations: 51.44 kB / 454.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of SimCode: time 1.533e-06/0.7865, allocations: 0 / 454.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of Templates: time 0.06243/0.849, allocations: 17.81 MB / 472.3 MB, free: 10.36 MB / 362.7 MB