Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 1.882/1.882, allocations: 205.8 MB / 218.9 MB, free: 9.359 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.848e-05/2.846e-05, allocations: 2.25 kB / 269.4 MB, free: 6.426 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08442/0.08447, allocations: 47.57 MB / 316.9 MB, free: 6.766 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3358/0.4203, allocations: 77.31 MB / 394.2 MB, free: 10.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/0.4206, allocations: 74.27 kB / 394.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01965/0.4402, allocations: 4.592 MB / 398.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.239e-06/0.4403, allocations: 0 / 398.9 MB, free: 6.859 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.989e-05/0.4403, allocations: 4 kB / 398.9 MB, free: 6.855 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001148/0.4415, allocations: 0.5282 MB / 399.4 MB, free: 6.301 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.251e-05/0.4415, allocations: 8.031 kB / 399.4 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.291e-05/0.4417, allocations: 35.56 kB / 399.5 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003913/0.4421, allocations: 254.4 kB / 399.7 MB, free: 5.984 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.243e-05/0.4421, allocations: 22.06 kB / 399.7 MB, free: 5.973 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.578e-05/0.4422, allocations: 19.61 kB / 399.8 MB, free: 5.957 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005544/0.4427, allocations: 241.6 kB / 400 MB, free: 5.773 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.4428, allocations: 0 / 400 MB, free: 5.773 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.096e-05/0.4428, allocations: 11.75 kB / 400 MB, free: 5.77 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.271e-06/0.4428, allocations: 4 kB / 400 MB, free: 5.766 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004904/0.4433, allocations: 177.8 kB / 400.2 MB, free: 5.652 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002266/0.4456, allocations: 1.079 MB / 401.3 MB, free: 4.664 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.4473, allocations: 335 kB / 401.6 MB, free: 4.391 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002485/0.4475, allocations: 103.1 kB / 401.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.145e-05/0.4476, allocations: 256 / 401.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.4476, allocations: 46.38 kB / 401.7 MB, free: 4.273 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.546e-06/0.4477, allocations: 0 / 401.7 MB, free: 4.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.003038/0.4507, allocations: 0.5224 MB / 402.3 MB, free: 3.797 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.4508, allocations: 51.41 kB / 402.3 MB, free: 3.734 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003158/0.4511, allocations: 197.8 kB / 402.5 MB, free: 3.562 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.4512, allocations: 29.7 kB / 402.5 MB, free: 3.527 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/0.4513, allocations: 154.5 kB / 402.7 MB, free: 3.398 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.17e-05/0.4514, allocations: 50.98 kB / 402.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.921e-05/0.4514, allocations: 3.75 kB / 402.7 MB, free: 3.355 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001705/0.4516, allocations: 338.5 kB / 403.1 MB, free: 3.023 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001763/0.4518, allocations: 54.94 kB / 403.1 MB, free: 2.992 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.452, allocations: 76.7 kB / 403.2 MB, free: 2.938 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.4522, allocations: 67.06 kB / 403.3 MB, free: 2.898 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.4522, allocations: 0 / 403.3 MB, free: 2.898 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003059/0.4553, allocations: 0.5515 MB / 403.8 MB, free: 2.402 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.4554, allocations: 8 kB / 403.8 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4554, allocations: 0 / 403.8 MB, free: 2.395 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004574/0.4559, allocations: 131.1 kB / 404 MB, free: 2.293 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.4561, allocations: 43.42 kB / 404 MB, free: 2.254 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00635/0.4625, allocations: 2.19 MB / 406.2 MB, free: 164 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003708/0.4629, allocations: 42.84 kB / 406.2 MB, free: 124 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.428e-05/0.463, allocations: 11.11 kB / 406.2 MB, free: 116 kB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * 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.0001431/0.4631, allocations: 112.4 kB / 406.3 MB, free: 0 / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.817e-05/0.4632, allocations: 19.77 kB / 406.4 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.968e-05/0.4633, allocations: 19.66 kB / 406.4 MB, free: 15.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.908e-06/0.4633, allocations: 7.984 kB / 406.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4633, allocations: 0 / 406.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.12e-06/0.4634, allocations: 0 / 406.4 MB, free: 15.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005299/0.4639, allocations: 330.7 kB / 406.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.666e-06/0.4639, allocations: 0 / 406.7 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.4642, allocations: 35.88 kB / 406.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000377/0.4646, allocations: 141.6 kB / 406.9 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.475e-05/0.4646, allocations: 0 / 406.9 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006214/0.4708, allocations: 2.174 MB / 409.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/0.4709, allocations: 0 / 409.1 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003297/0.4742, allocations: 0.7171 MB / 409.8 MB, free: 12.78 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/0.4744, allocations: 100.8 kB / 409.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.171e-05/0.4744, allocations: 7.766 kB / 409.9 MB, free: 12.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003814/0.4748, allocations: 36.05 kB / 409.9 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.076e-05/0.4749, allocations: 15.09 kB / 409.9 MB, free: 12.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.561e-05/0.475, allocations: 11.94 kB / 409.9 MB, free: 12.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002261/0.4752, allocations: 155.5 kB / 410.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.66e-07/0.4752, allocations: 0 / 410.1 MB, free: 12.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006282/0.4758, allocations: 82.78 kB / 410.2 MB, free: 12.39 MB / 330.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.0002024/0.4761, allocations: 103.2 kB / 410.3 MB, free: 12.29 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.4776, allocations: 379.1 kB / 410.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.483e-06/0.4776, allocations: 3.938 kB / 410.7 MB, free: 11.96 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001154/0.4788, allocations: 304.2 kB / 411 MB, free: 11.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.4792, allocations: 30.48 kB / 411 MB, free: 11.66 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.4803, allocations: 373.7 kB / 411.3 MB, free: 11.31 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004425/0.4808, allocations: 0.748 MB / 412.1 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001057/0.4809, allocations: 17.48 kB / 412.1 MB, free: 10.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.409e-05/0.481, allocations: 15.44 kB / 412.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.842e-06/0.481, allocations: 0 / 412.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of Templates: time 0.01164/0.4926, allocations: 4.447 MB / 416.6 MB, free: 6.078 MB / 330.7 MB