Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 1.87/1.87, allocations: 225.8 MB / 239.3 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.773e-05/2.782e-05, allocations: 4 kB / 292.1 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08854/0.08858, allocations: 50.42 MB / 342.5 MB, free: 6.367 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3513/0.4399, allocations: 79.11 MB / 421.7 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/0.4402, allocations: 73.58 kB / 421.7 MB, free: 14.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01956/0.4598, allocations: 4.764 MB / 426.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.101e-06/0.4598, allocations: 0 / 426.5 MB, free: 10.84 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.925e-05/0.4598, allocations: 4 kB / 426.5 MB, free: 10.84 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.001085/0.4609, allocations: 0.5249 MB / 427 MB, free: 10.28 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.461, allocations: 8.031 kB / 427 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.4611, allocations: 31.62 kB / 427.1 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003761/0.4615, allocations: 254.4 kB / 427.3 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.4615, allocations: 12.38 kB / 427.3 MB, free: 9.965 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.4616, allocations: 19.75 kB / 427.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005449/0.4622, allocations: 251.2 kB / 427.6 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.4622, allocations: 0 / 427.6 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.157e-05/0.4622, allocations: 15.56 kB / 427.6 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.919e-06/0.4623, allocations: 4 kB / 427.6 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004773/0.4628, allocations: 177.6 kB / 427.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.465, allocations: 1.081 MB / 428.9 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001594/0.4666, allocations: 334.4 kB / 429.2 MB, free: 8.375 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002479/0.4668, allocations: 102.5 kB / 429.3 MB, free: 8.309 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.969e-05/0.4669, allocations: 7.984 kB / 429.3 MB, free: 8.301 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.4669, allocations: 34.52 kB / 429.3 MB, free: 8.258 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.962e-06/0.4669, allocations: 4 kB / 429.3 MB, free: 8.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=14): time 0.002998/0.4699, allocations: 0.5128 MB / 429.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.334e-05/0.47, allocations: 55.34 kB / 429.9 MB, free: 7.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002804/0.4703, allocations: 191.7 kB / 430.1 MB, free: 7.555 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.108e-05/0.4704, allocations: 33.45 kB / 430.1 MB, free: 7.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.4705, allocations: 216.7 kB / 430.3 MB, free: 7.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.502e-05/0.4706, allocations: 42.36 kB / 430.4 MB, free: 7.293 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.989e-05/0.4706, allocations: 4 kB / 430.4 MB, free: 7.289 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001635/0.4708, allocations: 321.7 kB / 430.7 MB, free: 6.969 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.471, allocations: 60.48 kB / 430.7 MB, free: 6.934 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.4712, allocations: 78.25 kB / 430.8 MB, free: 6.879 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.4714, allocations: 65.34 kB / 430.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.678e-06/0.4714, allocations: 0 / 430.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002955/0.4744, allocations: 0.54 MB / 431.4 MB, free: 6.355 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.4744, allocations: 8 kB / 431.4 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.354e-06/0.4744, allocations: 0 / 431.4 MB, free: 6.348 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004356/0.4749, allocations: 137.6 kB / 431.6 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.4751, allocations: 39.61 kB / 431.6 MB, free: 6.207 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006178/0.4813, allocations: 2.183 MB / 433.8 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.4817, allocations: 38.83 kB / 433.8 MB, free: 4.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.4818, allocations: 7.984 kB / 433.8 MB, free: 4.07 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.0001267/0.4819, allocations: 115.4 kB / 433.9 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/0.482, allocations: 27.78 kB / 434 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.392e-05/0.4821, allocations: 20.03 kB / 434 MB, free: 3.918 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.4821, allocations: 7.984 kB / 434 MB, free: 3.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.806e-06/0.4821, allocations: 3.953 kB / 434 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.4821, allocations: 0 / 434 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005133/0.4826, allocations: 324.6 kB / 434.3 MB, free: 3.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.098e-06/0.4826, allocations: 4 kB / 434.3 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002449/0.4829, allocations: 27.98 kB / 434.4 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003645/0.4833, allocations: 137.4 kB / 434.5 MB, free: 3.457 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.912e-05/0.4833, allocations: 7.5 kB / 434.5 MB, free: 3.453 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005957/0.4893, allocations: 2.184 MB / 436.7 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.299e-06/0.4893, allocations: 0 / 436.7 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003139/0.4925, allocations: 0.7107 MB / 437.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.353e-05/0.4926, allocations: 103.2 kB / 437.5 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.4926, allocations: 3.5 kB / 437.5 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.493, allocations: 35.97 kB / 437.5 MB, free: 0.5781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.518e-05/0.4931, allocations: 15.48 kB / 437.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.641e-05/0.4931, allocations: 4 kB / 437.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001918/0.4933, allocations: 154.6 kB / 437.7 MB, free: 444 kB / 346.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.4934, allocations: 0 / 437.7 MB, free: 444 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005927/0.494, allocations: 86.41 kB / 437.8 MB, free: 364 kB / 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.0001763/0.4941, allocations: 106.2 kB / 437.9 MB, free: 248 kB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00141/0.4956, allocations: 376.4 kB / 438.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.442e-06/0.4956, allocations: 0 / 438.3 MB, free: 15.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001121/0.4967, allocations: 316.2 kB / 438.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.4971, allocations: 31.17 kB / 438.6 MB, free: 15.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4982, allocations: 398 kB / 439 MB, free: 15.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.4987, allocations: 0.7519 MB / 439.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.996e-05/0.4988, allocations: 15.44 kB / 439.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of SimCode: time 1.542e-06/0.4988, allocations: 0 / 439.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of Templates: time 0.007802/0.5066, allocations: 3.945 MB / 443.7 MB, free: 10.52 MB / 362.7 MB