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 2.13/2.13, allocations: 194.9 MB / 211.2 MB, free: 9.32 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.924e-05, allocations: 7.984 kB / 258.8 MB, free: 9.656 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3111, allocations: 44.5 MB / 303.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse): time 0.006907/0.3181, allocations: 3.828 MB / 307.1 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003685/0.3218, allocations: 1.211 MB / 308.3 MB, free: 8.629 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008101/0.3227, allocations: 31.5 kB / 308.4 MB, free: 8.621 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009083/0.3236, allocations: 187.7 kB / 308.6 MB, free: 8.461 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFTyping.typeBindings: time 0.001568/0.3252, allocations: 275.3 kB / 308.8 MB, free: 8.215 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006865/0.3259, allocations: 131.3 kB / 309 MB, free: 8.105 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFFlatten.flatten: time 0.002005/0.3279, allocations: 0.6908 MB / 309.6 MB, free: 7.457 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001155/0.3291, allocations: 499.3 kB / 310.1 MB, free: 6.957 MB / 250.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5426:20-5426:43:writable] Warning: 'each' used when modifying non-array element diode_p. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Electrical/PowerConverters.mo:5437:20-5437:43:writable] Warning: 'each' used when modifying non-array element diode_n. Notification: Performance of NFEvalConstants.evaluate: time 0.0009922/0.3302, allocations: 367 kB / 310.5 MB, free: 6.598 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001266/0.3315, allocations: 482.4 kB / 311 MB, free: 6.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003262/0.3318, allocations: 44 kB / 311 MB, free: 6.082 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002412/0.3321, allocations: 48 kB / 311.1 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004172/0.3325, allocations: 279.1 kB / 311.3 MB, free: 5.762 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003959/0.3329, allocations: 108 kB / 311.4 MB, free: 5.656 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002673/0.3356, allocations: 1.646 MB / 313.1 MB, free: 4.008 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3357, allocations: 0 / 313.1 MB, free: 4.008 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.657e-06/0.3357, allocations: 3.938 kB / 313.1 MB, free: 4.004 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.82e-05/0.3358, allocations: 0 / 313.1 MB, free: 4.004 MB / 250.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.004155/0.3399, allocations: 1.278 MB / 314.4 MB, free: 2.676 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.472e-05/0.34, allocations: 12.03 kB / 314.4 MB, free: 2.664 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006095/0.3406, allocations: 138.4 kB / 314.5 MB, free: 2.527 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002331/0.343, allocations: 0.8365 MB / 315.3 MB, free: 1.648 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.3431, allocations: 74 kB / 315.4 MB, free: 1.574 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.3434, allocations: 96 kB / 315.5 MB, free: 1.48 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004229/0.3477, allocations: 1.423 MB / 316.9 MB, free: 28 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.012e-05/0.3478, allocations: 7.844 kB / 316.9 MB, free: 20 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001948/0.348, allocations: 40.08 kB / 317 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.841e-05/0.3481, allocations: 45.98 kB / 317 MB, free: 15.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004411/0.3525, allocations: 1.288 MB / 318.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.3646, allocations: 4.347 MB / 322.7 MB, free: 10.2 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003521/0.3681, allocations: 1.982 MB / 324.6 MB, free: 7.992 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000103/0.3683, allocations: 8.656 kB / 324.7 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001693/0.37, allocations: 0.5975 MB / 325.2 MB, free: 7.363 MB / 266.7 MB Notification: Performance of pre-optimization done (n=75): time 4.218e-06/0.3701, allocations: 0 / 325.2 MB, free: 7.363 MB / 266.7 MB Notification: Performance of matching and sorting (n=75): time 0.01384/0.3839, allocations: 2.836 MB / 328.1 MB, free: 4.5 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.384, allocations: 111.5 kB / 328.2 MB, free: 4.363 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/0.3858, allocations: 0.7302 MB / 328.9 MB, free: 3.629 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002312/0.3861, allocations: 41.7 kB / 329 MB, free: 3.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006354/0.3867, allocations: 494.2 kB / 329.4 MB, free: 3.094 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004501/0.3872, allocations: 240.5 kB / 329.7 MB, free: 2.855 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.391e-05/0.3873, allocations: 16 kB / 329.7 MB, free: 2.84 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/0.3875, allocations: 346.8 kB / 330 MB, free: 2.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001268/0.3888, allocations: 397.7 kB / 330.4 MB, free: 2.102 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001379/0.3902, allocations: 0.5493 MB / 331 MB, free: 1.492 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.3916, allocations: 441.9 kB / 331.4 MB, free: 1.062 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/0.3916, allocations: 4 kB / 331.4 MB, free: 1.059 MB / 266.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003735/0.3954, allocations: 1.237 MB / 332.6 MB, free: 15.81 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.778e-05/0.3955, allocations: 11.94 kB / 332.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/0.3955, allocations: 4.438 kB / 332.7 MB, free: 15.8 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001963/0.3975, allocations: 472.4 kB / 333.1 MB, free: 15.33 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.3983, allocations: 99.83 kB / 333.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01228/0.4106, allocations: 5.301 MB / 338.5 MB, free: 9.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000998/0.4117, allocations: 87.45 kB / 338.6 MB, free: 9.707 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.29e-05/0.4118, allocations: 27.95 kB / 338.6 MB, free: 9.68 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (55): * Single equations (assignments): 54 * 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.001014/0.4128, allocations: 459.1 kB / 339.1 MB, free: 9.223 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/0.4131, allocations: 90.97 kB / 339.2 MB, free: 9.133 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.4134, allocations: 120.5 kB / 339.3 MB, free: 9.012 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.4134, allocations: 8 kB / 339.3 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.4134, allocations: 0 / 339.3 MB, free: 9.004 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.261e-05/0.4135, allocations: 3.984 kB / 339.3 MB, free: 9 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006797/0.4203, allocations: 2.627 MB / 341.9 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.855e-06/0.4203, allocations: 0 / 341.9 MB, free: 6.312 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000596/0.4209, allocations: 71.89 kB / 342 MB, free: 6.242 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/0.4227, allocations: 461.4 kB / 342.5 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.229e-05/0.4229, allocations: 8 kB / 342.5 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01181/0.4347, allocations: 5.275 MB / 347.7 MB, free: 368 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4347, allocations: 4 kB / 347.7 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005166/0.4399, allocations: 1.923 MB / 349.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007794/0.4407, allocations: 276 kB / 349.9 MB, free: 14.12 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/0.441, allocations: 19.98 kB / 350 MB, free: 14.11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007581/0.4418, allocations: 39.95 kB / 350 MB, free: 14.07 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003117/0.4421, allocations: 80.55 kB / 350.1 MB, free: 13.99 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.573e-05/0.4422, allocations: 19.98 kB / 350.1 MB, free: 13.97 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.001422/0.4436, allocations: 0.5849 MB / 350.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.32e-07/0.4437, allocations: 0 / 350.7 MB, free: 13.39 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001644/0.4453, allocations: 339.1 kB / 351 MB, free: 13.06 MB / 298.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) * 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.0002929/0.4457, allocations: 132.1 kB / 351.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003744/0.4494, allocations: 1.286 MB / 352.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/0.4495, allocations: 3.938 kB / 352.4 MB, free: 11.62 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002378/0.4519, allocations: 0.8403 MB / 353.3 MB, free: 10.76 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002036/0.454, allocations: 242.7 kB / 353.5 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00751/0.4615, allocations: 2.704 MB / 356.2 MB, free: 7.793 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001413/0.463, allocations: 1.319 MB / 357.5 MB, free: 6.449 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.4634, allocations: 55.44 kB / 357.6 MB, free: 6.395 MB / 298.7 MB Notification: Performance of SimCode: time 3.417e-06/0.4634, allocations: 7.875 kB / 357.6 MB, free: 6.387 MB / 298.7 MB Notification: Performance of Templates: time 0.05051/0.5139, allocations: 19.79 MB / 377.4 MB, free: 2.605 MB / 314.7 MB