Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse") Notification: Performance of loadModel(Modelica): time 2.258/2.258, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.174e-05, allocations: 4 kB / 258.8 MB, free: 8.691 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3488/0.3488, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse): time 0.004892/0.3538, allocations: 2.768 MB / 306.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.3561, allocations: 0.798 MB / 306.9 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002799/0.3564, allocations: 15.41 kB / 306.9 MB, free: 9.895 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.3566, allocations: 39.86 kB / 306.9 MB, free: 9.859 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000476/0.3571, allocations: 132.6 kB / 307.1 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000369/0.3575, allocations: 89.92 kB / 307.1 MB, free: 9.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005353/0.3581, allocations: 263.4 kB / 307.4 MB, free: 9.473 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002872/0.3584, allocations: 93.09 kB / 307.5 MB, free: 9.41 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000345/0.3587, allocations: 142.3 kB / 307.6 MB, free: 9.336 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003499/0.3591, allocations: 157.5 kB / 307.8 MB, free: 9.207 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.192e-05/0.3592, allocations: 16 kB / 307.8 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 6.155e-05/0.3593, allocations: 16 kB / 307.8 MB, free: 9.176 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.3594, allocations: 67.73 kB / 307.9 MB, free: 9.109 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001222/0.3595, allocations: 36 kB / 307.9 MB, free: 9.074 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005659/0.3601, allocations: 384.8 kB / 308.3 MB, free: 8.699 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.3601, allocations: 0 / 308.3 MB, free: 8.699 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3601, allocations: 0 / 308.3 MB, free: 8.699 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.324e-05/0.3602, allocations: 0 / 308.3 MB, free: 8.699 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.00146/0.3616, allocations: 0.6057 MB / 308.9 MB, free: 8.047 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.3617, allocations: 11.97 kB / 308.9 MB, free: 8.035 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.3618, allocations: 55.38 kB / 309 MB, free: 7.98 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006021/0.3625, allocations: 327.3 kB / 309.3 MB, free: 7.625 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.905e-05/0.3625, allocations: 25 kB / 309.3 MB, free: 7.602 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/0.3626, allocations: 36 kB / 309.3 MB, free: 7.566 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.3637, allocations: 375.2 kB / 309.7 MB, free: 7.18 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.999e-05/0.3638, allocations: 7.906 kB / 309.7 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.252e-05/0.3638, allocations: 16 kB / 309.7 MB, free: 7.156 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.552e-05/0.3639, allocations: 11.94 kB / 309.7 MB, free: 7.145 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008784/0.3647, allocations: 254.5 kB / 310 MB, free: 6.895 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003302/0.3681, allocations: 1.483 MB / 311.5 MB, free: 5.316 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007186/0.3688, allocations: 263.3 kB / 311.7 MB, free: 5.051 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.3689, allocations: 8.172 kB / 311.7 MB, free: 5.043 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006324/0.3695, allocations: 226.9 kB / 312 MB, free: 4.805 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 2.735e-06/0.3696, allocations: 0 / 312 MB, free: 4.805 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.002513/0.3721, allocations: 0.5926 MB / 312.6 MB, free: 4.184 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.687e-05/0.3722, allocations: 85.11 kB / 312.6 MB, free: 4.082 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004581/0.3727, allocations: 263.6 kB / 312.9 MB, free: 3.824 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.578e-05/0.3727, allocations: 33.69 kB / 312.9 MB, free: 3.785 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002235/0.373, allocations: 266.8 kB / 313.2 MB, free: 3.52 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001207/0.3731, allocations: 98.69 kB / 313.3 MB, free: 3.422 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.329e-05/0.3731, allocations: 8 kB / 313.3 MB, free: 3.414 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.3733, allocations: 322.8 kB / 313.6 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003474/0.3736, allocations: 96.7 kB / 313.7 MB, free: 2.996 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004769/0.3741, allocations: 220.6 kB / 313.9 MB, free: 2.727 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004224/0.3746, allocations: 120 kB / 314 MB, free: 2.609 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.784e-06/0.3746, allocations: 4 kB / 314 MB, free: 2.605 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001229/0.3758, allocations: 409.9 kB / 314.4 MB, free: 2.195 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.3759, allocations: 8 kB / 314.4 MB, free: 2.188 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.3759, allocations: 4 kB / 314.5 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004658/0.3764, allocations: 77.09 kB / 314.5 MB, free: 2.105 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004367/0.3768, allocations: 63.84 kB / 314.6 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00292/0.3798, allocations: 1.819 MB / 316.4 MB, free: 88 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004277/0.3802, allocations: 39.69 kB / 316.4 MB, free: 48 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-05/0.3803, allocations: 12 kB / 316.5 MB, free: 36 kB / 250.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: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 35 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0003422/0.3807, allocations: 181.7 kB / 316.6 MB, free: 15.85 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.96e-05/0.3807, allocations: 31.81 kB / 316.7 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.3809, allocations: 35.09 kB / 316.7 MB, free: 15.78 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.3809, allocations: 7.938 kB / 316.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.3809, allocations: 0 / 316.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.947e-06/0.3809, allocations: 4 kB / 316.7 MB, free: 15.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.3816, allocations: 413.2 kB / 317.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.3816, allocations: 4 kB / 317.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003532/0.382, allocations: 31.98 kB / 317.2 MB, free: 15.28 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003903/0.3824, allocations: 80.78 kB / 317.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.538e-05/0.3824, allocations: 11.98 kB / 317.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002829/0.3853, allocations: 1.812 MB / 319.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3853, allocations: 0 / 319.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001587/0.3869, allocations: 0.5057 MB / 319.6 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.3872, allocations: 136.7 kB / 319.7 MB, free: 12.56 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.541e-05/0.3873, allocations: 12 kB / 319.7 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003097/0.3876, allocations: 15.98 kB / 319.7 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3877, allocations: 23.97 kB / 319.7 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.743e-05/0.3878, allocations: 11.98 kB / 319.8 MB, free: 12.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003106/0.3881, allocations: 203.1 kB / 320 MB, free: 12.3 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.286e-06/0.3881, allocations: 0 / 320 MB, free: 12.3 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000663/0.3888, allocations: 123.6 kB / 320.1 MB, free: 12.18 MB / 266.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001863/0.389, allocations: 115.3 kB / 320.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001239/0.3902, allocations: 423.8 kB / 320.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.3903, allocations: 0 / 320.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007327/0.391, allocations: 295.3 kB / 320.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004582/0.3915, allocations: 48.77 kB / 320.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.3934, allocations: 0.8783 MB / 321.8 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.394, allocations: 0.8107 MB / 322.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.3942, allocations: 31.44 kB / 322.7 MB, free: 9.5 MB / 266.7 MB Notification: Performance of SimCode: time 1.262e-06/0.3942, allocations: 4 kB / 322.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of Templates: time 0.01288/0.4071, allocations: 5.656 MB / 328.3 MB, free: 3.852 MB / 266.7 MB