Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 1.756/1.756, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.281e-05/3.258e-05, allocations: 4 kB / 225 MB, free: 2.34 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.246/0.2461, allocations: 38.78 MB / 263.8 MB, free: 9.812 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1065/0.3527, allocations: 68.01 MB / 331.8 MB, free: 5.703 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.3529, allocations: 63.97 kB / 331.9 MB, free: 5.641 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02021/0.3731, allocations: 4.72 MB / 336.6 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.298e-06/0.3732, allocations: 0 / 336.6 MB, free: 0.8984 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.87e-05/0.3732, allocations: 4 kB / 336.6 MB, free: 0.8945 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001137/0.3744, allocations: 0.5375 MB / 337.1 MB, free: 320 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.3744, allocations: 12.03 kB / 337.1 MB, free: 308 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.141e-05/0.3745, allocations: 27.62 kB / 337.2 MB, free: 280 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004291/0.375, allocations: 255.6 kB / 337.4 MB, free: 15.98 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.579e-05/0.375, allocations: 12.44 kB / 337.4 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.734e-05/0.3751, allocations: 24 kB / 337.4 MB, free: 15.94 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006025/0.3757, allocations: 263.5 kB / 337.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3757, allocations: 0 / 337.7 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.3758, allocations: 12 kB / 337.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.347e-05/0.3758, allocations: 4 kB / 337.7 MB, free: 15.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005024/0.3763, allocations: 176.8 kB / 337.9 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002464/0.3788, allocations: 1.261 MB / 339.1 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001663/0.3805, allocations: 342.4 kB / 339.5 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000265/0.3808, allocations: 108.8 kB / 339.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.3808, allocations: 0 / 339.6 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.3809, allocations: 38.56 kB / 339.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.358e-06/0.3809, allocations: 0 / 339.6 MB, free: 13.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.003084/0.384, allocations: 0.5215 MB / 340.1 MB, free: 13.09 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.3841, allocations: 55.41 kB / 340.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003127/0.3844, allocations: 193.1 kB / 340.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.995e-05/0.3845, allocations: 41.64 kB / 340.4 MB, free: 12.79 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.3846, allocations: 164 kB / 340.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.497e-05/0.3847, allocations: 43.3 kB / 340.6 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.562e-05/0.3847, allocations: 8 kB / 340.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3849, allocations: 334.8 kB / 341 MB, free: 12.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001932/0.3851, allocations: 56 kB / 341 MB, free: 12.18 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.3854, allocations: 96.97 kB / 341.1 MB, free: 12.07 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002101/0.3856, allocations: 70 kB / 341.2 MB, free: 12.01 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.252e-06/0.3856, allocations: 4 kB / 341.2 MB, free: 12 MB / 298.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.003082/0.3887, allocations: 0.5602 MB / 341.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.3888, allocations: 4 kB / 341.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3888, allocations: 3.953 kB / 341.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000447/0.3893, allocations: 140.8 kB / 341.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002603/0.3895, allocations: 39.97 kB / 341.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006396/0.3959, allocations: 2.173 MB / 344.1 MB, free: 8.938 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000398/0.3964, allocations: 47.91 kB / 344.2 MB, free: 8.891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.3964, allocations: 4 kB / 344.2 MB, free: 8.887 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * 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 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.00014/0.3966, allocations: 116.9 kB / 344.3 MB, free: 8.766 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.926e-05/0.3967, allocations: 23.72 kB / 344.3 MB, free: 8.742 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.591e-05/0.3968, allocations: 25.95 kB / 344.3 MB, free: 8.715 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.49e-06/0.3968, allocations: 4 kB / 344.3 MB, free: 8.711 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3968, allocations: 8 kB / 344.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.604e-06/0.3968, allocations: 0 / 344.3 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.3974, allocations: 333.4 kB / 344.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.632e-06/0.3974, allocations: 3.938 kB / 344.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.3976, allocations: 31.97 kB / 344.7 MB, free: 8.293 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003924/0.398, allocations: 140.8 kB / 344.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.414e-05/0.3981, allocations: 0 / 344.8 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006244/0.4043, allocations: 2.181 MB / 347 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.148e-06/0.4044, allocations: 0 / 347 MB, free: 5.832 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003296/0.4077, allocations: 0.7068 MB / 347.7 MB, free: 5.105 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001875/0.4079, allocations: 120.9 kB / 347.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.408, allocations: 0 / 347.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003918/0.4084, allocations: 43.92 kB / 347.9 MB, free: 4.926 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.132e-05/0.4084, allocations: 7.984 kB / 347.9 MB, free: 4.918 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.099e-05/0.4085, allocations: 7.984 kB / 347.9 MB, free: 4.91 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002255/0.4087, allocations: 169.3 kB / 348.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.36e-07/0.4087, allocations: 0 / 348.1 MB, free: 4.746 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006438/0.4094, allocations: 87.84 kB / 348.1 MB, free: 4.66 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (CL.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 11 * 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 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.000187/0.4096, allocations: 107.2 kB / 348.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00146/0.4111, allocations: 381.7 kB / 348.6 MB, free: 4.164 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.634e-06/0.4111, allocations: 3.938 kB / 348.6 MB, free: 4.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.4122, allocations: 297.7 kB / 348.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.4126, allocations: 34.14 kB / 349 MB, free: 3.828 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001158/0.4138, allocations: 375.2 kB / 349.3 MB, free: 3.441 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004626/0.4143, allocations: 0.748 MB / 350.1 MB, free: 2.664 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001122/0.4144, allocations: 21.53 kB / 350.1 MB, free: 2.645 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.174e-05/0.4145, allocations: 15.44 kB / 350.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of SimCode: time 1.842e-06/0.4145, allocations: 0 / 350.1 MB, free: 2.629 MB / 298.7 MB Notification: Performance of Templates: time 0.01186/0.4264, allocations: 4.5 MB / 354.6 MB, free: 14.13 MB / 314.7 MB