Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.229e-05/3.253e-05, allocations: 5.406 kB / 292.7 MB, free: 8.344 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08863, allocations: 50.41 MB / 343.1 MB, free: 5.918 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3563/0.4449, allocations: 79.05 MB / 422.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4452, allocations: 74.89 kB / 422.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02011/0.4653, allocations: 4.764 MB / 427 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.432e-06/0.4654, allocations: 0 / 427 MB, free: 10.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.4654, allocations: 8 kB / 427 MB, free: 10.95 MB / 346.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.001139/0.4666, allocations: 0.5213 MB / 427.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.4666, allocations: 12.03 kB / 427.5 MB, free: 10.39 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.844e-05/0.4667, allocations: 31.62 kB / 427.5 MB, free: 10.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003832/0.4671, allocations: 250.6 kB / 427.8 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.4672, allocations: 16.25 kB / 427.8 MB, free: 10.08 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-05/0.4672, allocations: 27.73 kB / 427.8 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005531/0.4678, allocations: 246.3 kB / 428.1 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.4678, allocations: 0 / 428.1 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.019e-05/0.4679, allocations: 11.62 kB / 428.1 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.019e-06/0.4679, allocations: 4 kB / 428.1 MB, free: 9.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004746/0.4684, allocations: 175.7 kB / 428.2 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.4707, allocations: 1.087 MB / 429.3 MB, free: 8.758 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001641/0.4723, allocations: 334.4 kB / 429.7 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002446/0.4726, allocations: 102.9 kB / 429.8 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.4727, allocations: 0 / 429.8 MB, free: 8.418 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.901e-05/0.4727, allocations: 46.25 kB / 429.8 MB, free: 8.367 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.271e-06/0.4727, allocations: 0 / 429.8 MB, free: 8.367 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.003052/0.4758, allocations: 0.5133 MB / 430.3 MB, free: 7.898 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.4758, allocations: 54.84 kB / 430.4 MB, free: 7.836 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002795/0.4761, allocations: 186 kB / 430.6 MB, free: 7.672 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.4762, allocations: 25.7 kB / 430.6 MB, free: 7.641 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001318/0.4763, allocations: 169.1 kB / 430.7 MB, free: 7.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.133e-05/0.4764, allocations: 45.86 kB / 430.8 MB, free: 7.461 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.839e-05/0.4764, allocations: 3.625 kB / 430.8 MB, free: 7.461 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.4766, allocations: 329.6 kB / 431.1 MB, free: 7.137 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001777/0.4768, allocations: 59.69 kB / 431.2 MB, free: 7.102 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.477, allocations: 82.33 kB / 431.2 MB, free: 7.043 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.4772, allocations: 63.97 kB / 431.3 MB, free: 7.004 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.754e-06/0.4773, allocations: 4 kB / 431.3 MB, free: 7 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.003076/0.4803, allocations: 0.5466 MB / 431.9 MB, free: 6.508 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.4804, allocations: 7.984 kB / 431.9 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.3e-06/0.4804, allocations: 0 / 431.9 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004281/0.4808, allocations: 137.9 kB / 432 MB, free: 6.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002469/0.4811, allocations: 43.72 kB / 432 MB, free: 6.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006319/0.4874, allocations: 2.18 MB / 434.2 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.4878, allocations: 43.75 kB / 434.3 MB, free: 4.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.4879, allocations: 8.094 kB / 434.3 MB, free: 4.219 MB / 346.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.000132/0.488, allocations: 112.3 kB / 434.4 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.87e-05/0.4881, allocations: 19.81 kB / 434.4 MB, free: 4.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.905e-05/0.4882, allocations: 23.77 kB / 434.4 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.295e-06/0.4882, allocations: 0 / 434.4 MB, free: 4.07 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.18e-06/0.4882, allocations: 7.953 kB / 434.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.4883, allocations: 0 / 434.4 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005168/0.4888, allocations: 331.5 kB / 434.8 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.728e-06/0.4888, allocations: 4 kB / 434.8 MB, free: 3.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000231/0.489, allocations: 35.97 kB / 434.8 MB, free: 3.707 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003736/0.4894, allocations: 131.8 kB / 434.9 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.526e-05/0.4895, allocations: 3.438 kB / 434.9 MB, free: 3.605 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006125/0.4956, allocations: 2.187 MB / 437.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.817e-06/0.4957, allocations: 0 / 437.1 MB, free: 1.504 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003258/0.4989, allocations: 0.7073 MB / 437.8 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.927e-05/0.499, allocations: 96.73 kB / 437.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.465e-05/0.4991, allocations: 0 / 437.9 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003833/0.4995, allocations: 43.28 kB / 438 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.597e-05/0.4996, allocations: 12.06 kB / 438 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.03e-05/0.4996, allocations: 11.67 kB / 438 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001957/0.4998, allocations: 151.2 kB / 438.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.97e-07/0.4998, allocations: 0 / 438.1 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006313/0.5005, allocations: 87.62 kB / 438.2 MB, free: 0.5078 MB / 346.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.0001931/0.5007, allocations: 115.4 kB / 438.3 MB, free: 396 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001481/0.5022, allocations: 375.3 kB / 438.7 MB, free: 64 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.602e-06/0.5022, allocations: 0 / 438.7 MB, free: 64 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001175/0.5034, allocations: 312.5 kB / 439 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.5038, allocations: 30.48 kB / 439 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.505, allocations: 358.8 kB / 439.4 MB, free: 15.42 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.5055, allocations: 0.748 MB / 440.1 MB, free: 14.65 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001059/0.5056, allocations: 13.55 kB / 440.1 MB, free: 14.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.219e-05/0.5057, allocations: 19.44 kB / 440.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of SimCode: time 1.799e-06/0.5057, allocations: 0 / 440.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Templates: time 0.01162/0.5173, allocations: 4.466 MB / 444.6 MB, free: 10.18 MB / 362.7 MB