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.689/1.689, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.201e-05, allocations: 8 kB / 225 MB, free: 2.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2834/0.2835, allocations: 38.76 MB / 263.8 MB, free: 9.828 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.114/0.3975, allocations: 75.58 MB / 339.4 MB, free: 14.13 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002594/0.3979, allocations: 79.95 kB / 339.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07259/0.4705, allocations: 19.62 MB / 359.1 MB, free: 10.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.111e-06/0.4705, allocations: 7.938 kB / 359.1 MB, free: 10.24 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.198e-05/0.4706, allocations: 20 kB / 359.1 MB, free: 10.22 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: 227 * Number of variables: 227 Notification: Performance of Generate backend data structure: time 0.002866/0.4735, allocations: 1.095 MB / 360.2 MB, free: 9.078 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.4735, allocations: 8.031 kB / 360.2 MB, free: 9.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006387/0.4742, allocations: 138.7 kB / 360.3 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.4752, allocations: 0.4906 MB / 360.8 MB, free: 8.398 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.985e-05/0.4753, allocations: 70 kB / 360.9 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001965/0.4755, allocations: 95.98 kB / 361 MB, free: 8.238 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.4776, allocations: 0.8403 MB / 361.8 MB, free: 7.375 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.568e-05/0.4776, allocations: 4 kB / 361.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.4778, allocations: 36 kB / 361.9 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.683e-05/0.4778, allocations: 20 kB / 361.9 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001664/0.4795, allocations: 0.6092 MB / 362.5 MB, free: 6.707 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006516/0.486, allocations: 3.26 MB / 365.7 MB, free: 3.293 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00177/0.4878, allocations: 0.8651 MB / 366.6 MB, free: 2.352 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009109/0.4887, allocations: 366.6 kB / 367 MB, free: 1.992 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/0.4888, allocations: 8.547 kB / 367 MB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008801/0.4897, allocations: 400.6 kB / 367.4 MB, free: 1.566 MB / 314.7 MB Notification: Performance of pre-optimization done (n=69): time 3.876e-06/0.4897, allocations: 0 / 367.4 MB, free: 1.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=69): time 0.002095/0.4918, allocations: 0.7267 MB / 368.1 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.492, allocations: 192.5 kB / 368.3 MB, free: 0.5938 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006522/0.4927, allocations: 379.1 kB / 368.7 MB, free: 232 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.351e-05/0.4928, allocations: 41.7 kB / 368.7 MB, free: 184 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1863/0.679, allocations: 391.7 kB / 369.1 MB, free: 83.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003044/0.6794, allocations: 225.8 kB / 369.3 MB, free: 83.24 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.6795, allocations: 14.97 kB / 369.3 MB, free: 83.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.6796, allocations: 366.9 kB / 369.7 MB, free: 82.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006252/0.6803, allocations: 189.1 kB / 369.9 MB, free: 82.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007181/0.681, allocations: 392.2 kB / 370.2 MB, free: 82.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006901/0.6817, allocations: 244.5 kB / 370.5 MB, free: 82.7 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.072e-06/0.6817, allocations: 1.875 kB / 370.5 MB, free: 82.7 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002352/0.6841, allocations: 0.815 MB / 371.3 MB, free: 82.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.6841, allocations: 8.938 kB / 371.3 MB, free: 82.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.6842, allocations: 8.75 kB / 371.3 MB, free: 82.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001028/0.6852, allocations: 266.5 kB / 371.6 MB, free: 82.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005667/0.6858, allocations: 117.8 kB / 371.7 MB, free: 82.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005972/0.6918, allocations: 4.376 MB / 376.1 MB, free: 79.85 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007992/0.6926, allocations: 97.33 kB / 376.2 MB, free: 79.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.154e-05/0.6927, allocations: 24.59 kB / 376.2 MB, free: 79.84 MB / 314.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 {4 17,2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002009/0.6929, allocations: 170.2 kB / 376.4 MB, free: 79.72 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/0.6931, allocations: 63.91 kB / 376.4 MB, free: 79.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.695, allocations: 0.7625 MB / 377.2 MB, free: 79.61 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.643e-06/0.695, allocations: 7.969 kB / 377.2 MB, free: 79.61 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.6951, allocations: 0.875 kB / 377.2 MB, free: 79.61 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.6951, allocations: 3.797 kB / 377.2 MB, free: 79.61 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.6982, allocations: 1.597 MB / 378.8 MB, free: 79.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.698e-06/0.6982, allocations: 2.875 kB / 378.8 MB, free: 79.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004915/0.6987, allocations: 76.38 kB / 378.9 MB, free: 79.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001042/0.6998, allocations: 262.9 kB / 379.1 MB, free: 79.23 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.966e-05/0.6999, allocations: 21.64 kB / 379.1 MB, free: 79.22 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005626/0.7055, allocations: 4.342 MB / 383.5 MB, free: 76.45 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.291e-06/0.7056, allocations: 7.891 kB / 383.5 MB, free: 76.45 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002439/0.708, allocations: 1.113 MB / 384.6 MB, free: 75.85 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.7083, allocations: 191.5 kB / 384.8 MB, free: 75.69 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.7085, allocations: 22.91 kB / 384.8 MB, free: 75.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005812/0.7091, allocations: 44.55 kB / 384.9 MB, free: 75.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.7093, allocations: 64.61 kB / 384.9 MB, free: 75.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.7094, allocations: 22.45 kB / 384.9 MB, free: 75.65 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003993/0.7098, allocations: 290.8 kB / 385.2 MB, free: 75.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.66e-07/0.7098, allocations: 0 / 385.2 MB, free: 75.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001221/0.711, allocations: 281.3 kB / 385.5 MB, free: 75.43 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0002552/0.7113, allocations: 160.1 kB / 385.7 MB, free: 75.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001639/0.7129, allocations: 0.8588 MB / 386.5 MB, free: 74.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.465e-06/0.713, allocations: 2.875 kB / 386.5 MB, free: 74.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.7141, allocations: 0.6036 MB / 387.1 MB, free: 74.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.7148, allocations: 100.6 kB / 387.2 MB, free: 74.47 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.7173, allocations: 1.062 MB / 388.3 MB, free: 73.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.7178, allocations: 0.9834 MB / 389.3 MB, free: 73.23 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003931/0.7182, allocations: 65.62 kB / 389.3 MB, free: 73.21 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.7184, allocations: 39 kB / 389.4 MB, free: 73.2 MB / 314.7 MB Notification: Performance of SimCode: time 2.069e-06/0.7184, allocations: 0 / 389.4 MB, free: 73.2 MB / 314.7 MB Notification: Performance of Templates: time 0.02461/0.743, allocations: 10.21 MB / 399.6 MB, free: 69.66 MB / 314.7 MB