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.1_Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier") Notification: Performance of loadModel(Modelica): time 1.772/1.772, allocations: 171.2 MB / 185.7 MB, free: 1.402 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/2.997e-05, allocations: 4 kB / 228.1 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08698/0.08704, allocations: 38.78 MB / 266.9 MB, free: 472 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.SinglePhase.Examples.Rectifier): time 0.008014/0.09511, allocations: 4.76 MB / 271.7 MB, free: 11.67 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00445/0.09962, allocations: 1.656 MB / 273.3 MB, free: 10.01 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007459/0.1004, allocations: 27.94 kB / 273.4 MB, free: 9.98 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006093/0.101, allocations: 166.8 kB / 273.5 MB, free: 9.816 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001926/0.103, allocations: 0.5605 MB / 274.1 MB, free: 9.254 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.1042, allocations: 339.2 kB / 274.4 MB, free: 8.922 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.1056, allocations: 0.5462 MB / 275 MB, free: 8.375 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002047/0.1076, allocations: 0.8081 MB / 275.8 MB, free: 7.535 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005842/0.1083, allocations: 287.2 kB / 276.1 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007246/0.109, allocations: 354.7 kB / 276.4 MB, free: 6.906 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005635/0.1096, allocations: 131.9 kB / 276.5 MB, free: 6.777 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.1097, allocations: 40 kB / 276.6 MB, free: 6.738 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.1099, allocations: 143.4 kB / 276.7 MB, free: 6.598 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002394/0.1102, allocations: 83.94 kB / 276.8 MB, free: 6.516 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001614/0.1118, allocations: 0.9816 MB / 277.8 MB, free: 5.531 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.1119, allocations: 0 / 277.8 MB, free: 5.531 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.1119, allocations: 0 / 277.8 MB, free: 5.531 MB / 234.7 MB Notification: Performance of Transformations before backend: time 2.812e-05/0.1119, allocations: 4 kB / 277.8 MB, free: 5.527 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.003971/0.1159, allocations: 1.143 MB / 278.9 MB, free: 4.336 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.116, allocations: 8.031 kB / 278.9 MB, free: 4.328 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000867/0.1168, allocations: 150.7 kB / 279.1 MB, free: 4.18 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001204/0.1181, allocations: 0.5062 MB / 279.6 MB, free: 3.629 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.292e-05/0.1182, allocations: 77.95 kB / 279.7 MB, free: 3.555 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002221/0.1184, allocations: 99.97 kB / 279.8 MB, free: 3.457 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002733/0.1211, allocations: 0.8986 MB / 280.7 MB, free: 2.531 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.609e-05/0.1212, allocations: 7.906 kB / 280.7 MB, free: 2.523 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001386/0.1214, allocations: 36 kB / 280.7 MB, free: 2.488 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.807e-05/0.1214, allocations: 20 kB / 280.7 MB, free: 2.469 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002453/0.1239, allocations: 0.7105 MB / 281.4 MB, free: 1.762 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007645/0.1316, allocations: 3.225 MB / 284.7 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.134, allocations: 0.9243 MB / 285.6 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.573e-05/0.1342, allocations: 12.56 kB / 285.6 MB, free: 13.38 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001245/0.1354, allocations: 433.8 kB / 286 MB, free: 12.93 MB / 250.7 MB Notification: Performance of pre-optimization done (n=69): time 3.737e-06/0.1354, allocations: 4 kB / 286 MB, free: 12.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=69): time 0.007667/0.1431, allocations: 1.546 MB / 287.6 MB, free: 11.32 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001401/0.1433, allocations: 192.5 kB / 287.8 MB, free: 11.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007631/0.1441, allocations: 389 kB / 288.1 MB, free: 10.71 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001139/0.1442, allocations: 45.69 kB / 288.2 MB, free: 10.66 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004171/0.1446, allocations: 391.6 kB / 288.6 MB, free: 10.27 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002866/0.1449, allocations: 224.7 kB / 288.8 MB, free: 10.05 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.145, allocations: 16 kB / 288.8 MB, free: 10.03 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.1452, allocations: 366.8 kB / 289.2 MB, free: 9.664 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008648/0.1461, allocations: 233.9 kB / 289.4 MB, free: 9.438 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.1472, allocations: 447.1 kB / 289.8 MB, free: 8.918 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009501/0.1481, allocations: 282 kB / 290.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.1482, allocations: 0 / 290.1 MB, free: 8.645 MB / 250.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.003099/0.1513, allocations: 0.9339 MB / 291 MB, free: 7.699 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.636e-05/0.1513, allocations: 4 kB / 291 MB, free: 7.695 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.1513, allocations: 8.109 kB / 291 MB, free: 7.688 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/0.1528, allocations: 270.5 kB / 291.3 MB, free: 7.418 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008786/0.1537, allocations: 119.8 kB / 291.4 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008436/0.1622, allocations: 4.46 MB / 295.9 MB, free: 2.574 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009816/0.1632, allocations: 95.28 kB / 296 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.984e-05/0.1633, allocations: 28 kB / 296 MB, free: 2.453 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (65): * Single equations (assignments): 63 * 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.0005472/0.1638, allocations: 241.6 kB / 296.2 MB, free: 2.207 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001481/0.164, allocations: 63.25 kB / 296.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002908/0.1669, allocations: 0.8227 MB / 297.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.167, allocations: 8.062 kB / 297.1 MB, free: 1.293 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.167, allocations: 4 kB / 297.1 MB, free: 1.289 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.274e-05/0.167, allocations: 3.984 kB / 297.1 MB, free: 1.285 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2182/0.3852, allocations: 1.667 MB / 298.8 MB, free: 29.31 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.268e-06/0.3853, allocations: 0.8125 kB / 298.8 MB, free: 29.31 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007146/0.386, allocations: 77.7 kB / 298.9 MB, free: 29.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001357/0.3874, allocations: 262.8 kB / 299.1 MB, free: 29.3 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.78e-05/0.3875, allocations: 15.5 kB / 299.2 MB, free: 29.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008648/0.3961, allocations: 4.424 MB / 303.6 MB, free: 26.42 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.3962, allocations: 0.5312 kB / 303.6 MB, free: 26.42 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005245/0.4014, allocations: 1.238 MB / 304.8 MB, free: 25.88 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/0.402, allocations: 197.4 kB / 305 MB, free: 25.72 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002149/0.4022, allocations: 17.84 kB / 305 MB, free: 25.71 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/0.4033, allocations: 42.56 kB / 305.1 MB, free: 25.7 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003155/0.4036, allocations: 63.98 kB / 305.1 MB, free: 25.69 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.299e-05/0.4037, allocations: 28.45 kB / 305.2 MB, free: 25.68 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0007263/0.4045, allocations: 296.9 kB / 305.4 MB, free: 25.54 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.4045, allocations: 0.7656 kB / 305.4 MB, free: 25.54 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.002186/0.4067, allocations: 273.9 kB / 305.7 MB, free: 25.47 MB / 250.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 (40): * Single equations (assignments): 35 * 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.0003555/0.4071, allocations: 146.2 kB / 305.9 MB, free: 25.36 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.004015/0.4111, allocations: 0.9818 MB / 306.8 MB, free: 24.87 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.197e-06/0.4111, allocations: 2.328 kB / 306.8 MB, free: 24.87 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002394/0.4135, allocations: 0.6712 MB / 307.5 MB, free: 24.46 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.4148, allocations: 90 kB / 307.6 MB, free: 24.44 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005557/0.4204, allocations: 1.818 MB / 309.4 MB, free: 23.36 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009862/0.4214, allocations: 0.9849 MB / 310.4 MB, free: 22.64 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0007647/0.4222, allocations: 63.5 kB / 310.5 MB, free: 22.62 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002453/0.4225, allocations: 40.58 kB / 310.5 MB, free: 22.61 MB / 250.7 MB Notification: Performance of SimCode: time 1.232e-06/0.4225, allocations: 1 kB / 310.5 MB, free: 22.61 MB / 250.7 MB Notification: Performance of Templates: time 0.03834/0.4608, allocations: 10.17 MB / 320.7 MB, free: 17.92 MB / 250.7 MB