Running command: translateModel(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|voltageQS.pin_p.reference.gamma|iAC.mean1.y|iAC.mean2.y|iDC2.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.83/1.83, allocations: 194.9 MB / 210.6 MB, free: 8.34 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.819e-05/2.812e-05, allocations: 7.984 kB / 258.8 MB, free: 8.039 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2876, allocations: 44.5 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.008439/0.2961, allocations: 5.045 MB / 308.4 MB, free: 8.551 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004894/0.3011, allocations: 1.832 MB / 310.2 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007469/0.3019, allocations: 31.94 kB / 310.2 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005859/0.3025, allocations: 174.8 kB / 310.4 MB, free: 6.508 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002248/0.3047, allocations: 0.6462 MB / 311 MB, free: 5.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3059, allocations: 343.1 kB / 311.4 MB, free: 5.523 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001415/0.3073, allocations: 0.5891 MB / 312 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001929/0.3093, allocations: 0.812 MB / 312.8 MB, free: 4.082 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005643/0.3099, allocations: 323.1 kB / 313.1 MB, free: 3.766 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007705/0.3107, allocations: 402.6 kB / 313.5 MB, free: 3.371 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006324/0.3113, allocations: 155.9 kB / 313.6 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001552/0.3115, allocations: 44 kB / 313.7 MB, free: 3.176 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000212/0.3117, allocations: 167.3 kB / 313.9 MB, free: 3.012 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002597/0.312, allocations: 91.94 kB / 313.9 MB, free: 2.922 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001625/0.3136, allocations: 1.044 MB / 315 MB, free: 1.875 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3136, allocations: 4 kB / 315 MB, free: 1.871 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3136, allocations: 4 kB / 315 MB, free: 1.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.071e-05/0.3137, allocations: 0 / 315 MB, free: 1.867 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: 256 * Number of variables: 256 Notification: Performance of Generate backend data structure: time 0.003899/0.3176, allocations: 1.194 MB / 316.2 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3176, allocations: 8.031 kB / 316.2 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004423/0.3221, allocations: 474.3 kB / 316.7 MB, free: 148 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.3234, allocations: 0.5567 MB / 317.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.813e-05/0.3236, allocations: 82.02 kB / 317.3 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002387/0.3238, allocations: 100 kB / 317.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002903/0.3267, allocations: 1.043 MB / 318.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.308e-05/0.3268, allocations: 4 kB / 318.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001508/0.3269, allocations: 40 kB / 318.5 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/0.327, allocations: 24 kB / 318.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00294/0.3299, allocations: 0.933 MB / 319.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008672/0.3386, allocations: 3.758 MB / 323.2 MB, free: 9.328 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004155/0.3428, allocations: 2.483 MB / 325.7 MB, free: 6.48 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001859/0.3431, allocations: 93.75 kB / 325.8 MB, free: 6.371 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001411/0.3445, allocations: 0.4891 MB / 326.3 MB, free: 5.848 MB / 266.7 MB Notification: Performance of pre-optimization done (n=86): time 3.717e-06/0.3445, allocations: 3.938 kB / 326.3 MB, free: 5.844 MB / 266.7 MB Notification: Performance of matching and sorting (n=86): time 0.007621/0.3521, allocations: 1.692 MB / 328 MB, free: 4.105 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000122/0.3523, allocations: 192.9 kB / 328.1 MB, free: 3.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007464/0.3531, allocations: 409.1 kB / 328.5 MB, free: 3.465 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.966e-05/0.3532, allocations: 45.7 kB / 328.6 MB, free: 3.414 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004136/0.3536, allocations: 423.4 kB / 329 MB, free: 2.992 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/0.3539, allocations: 287.9 kB / 329.3 MB, free: 2.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.354, allocations: 20 kB / 329.3 MB, free: 2.688 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000207/0.3543, allocations: 374.8 kB / 329.7 MB, free: 2.312 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009647/0.3552, allocations: 281.9 kB / 329.9 MB, free: 2.039 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001211/0.3565, allocations: 0.5278 MB / 330.5 MB, free: 1.406 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001104/0.3576, allocations: 351 kB / 330.8 MB, free: 1.066 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.763e-06/0.3576, allocations: 0 / 330.8 MB, free: 1.066 MB / 266.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003434/0.361, allocations: 1.096 MB / 331.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.3611, allocations: 8 kB / 331.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/0.3611, allocations: 11.95 kB / 331.9 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001389/0.3625, allocations: 282.3 kB / 332.2 MB, free: 15.66 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001149/0.3637, allocations: 167.7 kB / 332.4 MB, free: 15.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007845/0.3716, allocations: 4.459 MB / 336.8 MB, free: 10.77 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3727, allocations: 115.2 kB / 336.9 MB, free: 10.66 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.63e-05/0.3728, allocations: 39.98 kB / 337 MB, free: 10.62 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.iDC2.mean.y,iDC2.mean.y,$PRE.iAC.mean1.y,iAC.mean1.y,$PRE.iAC.mean2.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 88 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of prepare postOptimizeDAE: time 0.0005459/0.3734, allocations: 241.6 kB / 337.2 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.3735, allocations: 71.16 kB / 337.3 MB, free: 10.3 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003222/0.3768, allocations: 0.9831 MB / 338.3 MB, free: 9.301 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.3768, allocations: 8 kB / 338.3 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3768, allocations: 0 / 338.3 MB, free: 9.293 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.621e-05/0.3768, allocations: 7.984 kB / 338.3 MB, free: 9.285 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004921/0.3818, allocations: 1.961 MB / 340.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.3818, allocations: 0 / 340.2 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000894/0.3827, allocations: 107.9 kB / 340.3 MB, free: 7.156 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/0.384, allocations: 265.6 kB / 340.6 MB, free: 6.891 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.394e-05/0.3841, allocations: 16.19 kB / 340.6 MB, free: 6.875 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00751/0.3916, allocations: 4.436 MB / 345.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3917, allocations: 96 / 345.1 MB, free: 2.18 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004252/0.396, allocations: 1.427 MB / 346.5 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004119/0.3964, allocations: 212.1 kB / 346.7 MB, free: 0.4922 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.3966, allocations: 19.98 kB / 346.7 MB, free: 484 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007914/0.3974, allocations: 51.97 kB / 346.8 MB, free: 432 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002197/0.3976, allocations: 68.91 kB / 346.8 MB, free: 364 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.664e-05/0.3977, allocations: 23.98 kB / 346.9 MB, free: 340 kB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005319/0.3983, allocations: 314.9 kB / 347.2 MB, free: 28 kB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3983, allocations: 0 / 347.2 MB, free: 28 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.001402/0.3997, allocations: 315.1 kB / 347.5 MB, free: 15.71 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (voltageQS.pin_p.reference.gamma,iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,$whenCondition1,iAC.mean1.y,iAC.mean2.y,rectifierAC.idealDiode1.off,rectifierAC.idealDiode2.off,rectifierAC.idealDiode3.off,rectifierAC.idealDiode4.off,iDC2.mean.y) * Number of discrete states: 3 (iAC.mean1.x,iAC.mean2.x,iDC2.mean.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (59): * Single equations (assignments): 54 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,4 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003279/0.4, allocations: 155 kB / 347.6 MB, free: 15.56 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.003069/0.4031, allocations: 1.12 MB / 348.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.4032, allocations: 4.125 kB / 348.7 MB, free: 14.41 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001815/0.405, allocations: 0.7508 MB / 349.5 MB, free: 13.63 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008191/0.4058, allocations: 106 kB / 349.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.4105, allocations: 2.012 MB / 351.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007142/0.4112, allocations: 1.014 MB / 352.6 MB, free: 10.44 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0006603/0.4119, allocations: 89.64 kB / 352.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002141/0.4121, allocations: 51.42 kB / 352.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of SimCode: time 1.242e-06/0.4121, allocations: 0 / 352.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of Templates: time 0.04196/0.4541, allocations: 11.11 MB / 363.9 MB, free: 15.21 MB / 314.7 MB