Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 1.811/1.811, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.964e-05/2.972e-05, allocations: 4 kB / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1179, allocations: 44.51 MB / 299.9 MB, free: 6.133 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3524/0.4703, allocations: 73.11 MB / 373 MB, free: 22.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4706, allocations: 69.61 kB / 373.1 MB, free: 22.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01846/0.4891, allocations: 4.641 MB / 377.7 MB, free: 21.82 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.206e-06/0.4891, allocations: 0 / 377.7 MB, free: 21.82 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.4891, allocations: 8.5 kB / 377.7 MB, free: 21.82 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: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001001/0.4901, allocations: 0.531 MB / 378.2 MB, free: 21.41 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.4902, allocations: 8.156 kB / 378.3 MB, free: 21.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.303e-05/0.4903, allocations: 37.05 kB / 378.3 MB, free: 21.39 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/0.4906, allocations: 246.2 kB / 378.5 MB, free: 21.17 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.636e-05/0.4907, allocations: 19.59 kB / 378.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.854e-05/0.4907, allocations: 24.97 kB / 378.6 MB, free: 21.16 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00054/0.4913, allocations: 261.6 kB / 378.8 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.4913, allocations: 1 kB / 378.8 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.221e-05/0.4914, allocations: 11.52 kB / 378.8 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.859e-06/0.4914, allocations: 5.625 kB / 378.8 MB, free: 21.08 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004856/0.4919, allocations: 174.9 kB / 379 MB, free: 21.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002039/0.4939, allocations: 1.271 MB / 380.3 MB, free: 20.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00159/0.4956, allocations: 331.1 kB / 380.6 MB, free: 20.27 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002412/0.4958, allocations: 106.7 kB / 380.7 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.4959, allocations: 2.469 kB / 380.7 MB, free: 20.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.677e-05/0.4959, allocations: 36.25 kB / 380.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 2.982e-06/0.4959, allocations: 0 / 380.8 MB, free: 20.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.002993/0.4989, allocations: 0.5187 MB / 381.3 MB, free: 20.15 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.242e-05/0.4989, allocations: 52.69 kB / 381.3 MB, free: 20.09 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.4992, allocations: 203.6 kB / 381.5 MB, free: 19.98 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.4992, allocations: 29.64 kB / 381.6 MB, free: 19.95 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.4993, allocations: 163.8 kB / 381.7 MB, free: 19.83 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.972e-05/0.4994, allocations: 48.56 kB / 381.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.915e-05/0.4994, allocations: 1.125 kB / 381.8 MB, free: 19.8 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.832e-05/0.4995, allocations: 341.3 kB / 382.1 MB, free: 19.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/0.4997, allocations: 62.09 kB / 382.2 MB, free: 19.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.4999, allocations: 93.44 kB / 382.2 MB, free: 19.45 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001999/0.5001, allocations: 71.59 kB / 382.3 MB, free: 19.45 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.164e-06/0.5002, allocations: 5.688 kB / 382.3 MB, free: 19.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.002947/0.5031, allocations: 0.5549 MB / 382.9 MB, free: 19.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.5032, allocations: 3.844 kB / 382.9 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.126e-06/0.5032, allocations: 5.812 kB / 382.9 MB, free: 19.37 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004017/0.5036, allocations: 137.9 kB / 383 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002433/0.5038, allocations: 37.52 kB / 383.1 MB, free: 19.35 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005652/0.5095, allocations: 2.181 MB / 385.2 MB, free: 17.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.5099, allocations: 49.03 kB / 385.3 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.51, allocations: 11.42 kB / 385.3 MB, free: 17.97 MB / 314.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 9.524e-05/0.5101, allocations: 116.8 kB / 385.4 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.446e-05/0.5102, allocations: 21.38 kB / 385.4 MB, free: 17.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.806e-05/0.5103, allocations: 28.55 kB / 385.5 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.991e-06/0.5103, allocations: 1.375 kB / 385.5 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.032e-06/0.5103, allocations: 1.375 kB / 385.5 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.474e-06/0.5103, allocations: 1.734 kB / 385.5 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004473/0.5108, allocations: 330.8 kB / 385.8 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.285e-06/0.5108, allocations: 4 kB / 385.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002226/0.511, allocations: 30.38 kB / 385.8 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003526/0.5114, allocations: 133.3 kB / 386 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.616e-05/0.5114, allocations: 7.391 kB / 386 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005488/0.5169, allocations: 2.174 MB / 388.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.557e-06/0.517, allocations: 1.688 kB / 388.1 MB, free: 16.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003077/0.5201, allocations: 0.7148 MB / 388.9 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.649e-05/0.5202, allocations: 96.94 kB / 388.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.04e-05/0.5202, allocations: 0 / 388.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000402/0.5207, allocations: 44.14 kB / 389 MB, free: 15.98 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.5207, allocations: 12.53 kB / 389 MB, free: 15.97 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.834e-05/0.5208, allocations: 8.844 kB / 389 MB, free: 15.97 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001781/0.5209, allocations: 157.6 kB / 389.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.49e-07/0.521, allocations: 1.531 kB / 389.2 MB, free: 15.89 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000649/0.5216, allocations: 87.25 kB / 389.3 MB, free: 15.88 MB / 314.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.0001466/0.5218, allocations: 109.2 kB / 389.4 MB, free: 15.78 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.5232, allocations: 384.5 kB / 389.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.5232, allocations: 1.75 kB / 389.7 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.5243, allocations: 306.5 kB / 390 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003498/0.5246, allocations: 24.91 kB / 390.1 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.5257, allocations: 368.1 kB / 390.4 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007216/0.5264, allocations: 0.7534 MB / 391.2 MB, free: 30.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001091/0.5265, allocations: 20.42 kB / 391.2 MB, free: 30.67 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.5266, allocations: 19.25 kB / 391.2 MB, free: 30.66 MB / 330.7 MB Notification: Performance of SimCode: time 1.74e-06/0.5266, allocations: 0 / 391.2 MB, free: 30.66 MB / 330.7 MB Notification: Performance of Templates: time 0.01021/0.5368, allocations: 4.49 MB / 395.7 MB, free: 30.33 MB / 330.7 MB