Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 1.974/1.974, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.226e-05/4.228e-05, allocations: 7.938 kB / 258.8 MB, free: 8.715 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3305/0.3305, allocations: 44.5 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003594/0.3342, allocations: 2.141 MB / 305.4 MB, free: 11.03 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.3359, allocations: 0.6073 MB / 306 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002227/0.3362, allocations: 6.812 kB / 306 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.326e-05/0.3363, allocations: 31.22 kB / 306.1 MB, free: 10.5 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003899/0.3367, allocations: 94 kB / 306.2 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003185/0.3371, allocations: 76.77 kB / 306.2 MB, free: 10.35 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.3376, allocations: 183.1 kB / 306.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.3378, allocations: 43.44 kB / 306.5 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002817/0.3381, allocations: 109.2 kB / 306.6 MB, free: 10.14 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.3383, allocations: 126.3 kB / 306.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.821e-05/0.3384, allocations: 17.59 kB / 306.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.363e-05/0.3385, allocations: 13.69 kB / 306.7 MB, free: 10.05 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.903e-05/0.3386, allocations: 54.89 kB / 306.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.374e-05/0.3387, allocations: 24.22 kB / 306.8 MB, free: 10.01 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003783/0.3391, allocations: 251 kB / 307 MB, free: 9.82 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.3391, allocations: 0 / 307 MB, free: 9.82 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.661e-06/0.3391, allocations: 0 / 307 MB, free: 9.82 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.303e-05/0.3391, allocations: 4.969 kB / 307 MB, free: 9.816 MB / 250.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.002141/0.3413, allocations: 0.5871 MB / 307.6 MB, free: 9.301 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.3413, allocations: 12.02 kB / 307.6 MB, free: 9.289 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.3415, allocations: 31.72 kB / 307.7 MB, free: 9.258 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004309/0.3419, allocations: 251.5 kB / 307.9 MB, free: 8.969 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.578e-05/0.342, allocations: 12.44 kB / 307.9 MB, free: 8.957 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.006e-05/0.3421, allocations: 28 kB / 308 MB, free: 8.93 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.3432, allocations: 320.3 kB / 308.3 MB, free: 8.594 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.679e-05/0.3432, allocations: 4 kB / 308.3 MB, free: 8.59 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.791e-05/0.3433, allocations: 8 kB / 308.3 MB, free: 8.582 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.3433, allocations: 8 kB / 308.3 MB, free: 8.574 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.3447, allocations: 285.5 kB / 308.6 MB, free: 8.297 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002929/0.3477, allocations: 1.253 MB / 309.8 MB, free: 6.957 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00348/0.3512, allocations: 482.3 kB / 310.3 MB, free: 6.477 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.3513, allocations: 0 / 310.3 MB, free: 6.477 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.3513, allocations: 42.5 kB / 310.3 MB, free: 6.426 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 1.784e-06/0.3514, allocations: 0 / 310.3 MB, free: 6.426 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.009193/0.3606, allocations: 1.124 MB / 311.5 MB, free: 5.273 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.3607, allocations: 51.41 kB / 311.5 MB, free: 5.211 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003662/0.361, allocations: 216 kB / 311.7 MB, free: 4.992 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.768e-05/0.3611, allocations: 25.7 kB / 311.7 MB, free: 4.961 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001517/0.3613, allocations: 222.5 kB / 312 MB, free: 4.742 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.082e-05/0.3614, allocations: 51.23 kB / 312 MB, free: 4.691 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.074e-05/0.3614, allocations: 0 / 312 MB, free: 4.691 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.3615, allocations: 322.8 kB / 312.3 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006292/0.3622, allocations: 111.9 kB / 312.4 MB, free: 4.258 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006475/0.3628, allocations: 155.3 kB / 312.6 MB, free: 4.094 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006586/0.3635, allocations: 121.3 kB / 312.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.3635, allocations: 0 / 312.7 MB, free: 3.977 MB / 250.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.005405/0.3689, allocations: 0.6992 MB / 313.4 MB, free: 3.27 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.369, allocations: 7.984 kB / 313.4 MB, free: 3.262 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.369, allocations: 4 kB / 313.4 MB, free: 3.258 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001257/0.3703, allocations: 236.6 kB / 313.7 MB, free: 3.023 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.3708, allocations: 43.92 kB / 313.7 MB, free: 2.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01237/0.3832, allocations: 2.669 MB / 316.4 MB, free: 180 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005248/0.3838, allocations: 43.92 kB / 316.4 MB, free: 136 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.773e-05/0.3839, allocations: 11.98 kB / 316.4 MB, free: 124 kB / 250.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.0002269/0.3841, allocations: 129.8 kB / 316.5 MB, free: 15.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.3842, allocations: 23.72 kB / 316.6 MB, free: 15.96 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/0.3843, allocations: 25.83 kB / 316.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3843, allocations: 0 / 316.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.3843, allocations: 4 kB / 316.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.3843, allocations: 96 / 316.6 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005537/0.3849, allocations: 333.3 kB / 316.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.3849, allocations: 7.984 kB / 316.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.3852, allocations: 31.92 kB / 317 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.3864, allocations: 228.7 kB / 317.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.087e-05/0.3864, allocations: 11.98 kB / 317.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01171/0.3981, allocations: 2.677 MB / 319.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.3982, allocations: 0 / 319.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006151/0.4043, allocations: 0.9097 MB / 320.8 MB, free: 11.53 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.4045, allocations: 100.9 kB / 320.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.079e-05/0.4046, allocations: 11.89 kB / 320.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005234/0.4052, allocations: 40.03 kB / 320.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.561e-05/0.4052, allocations: 11.98 kB / 320.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.045e-05/0.4053, allocations: 4 kB / 320.9 MB, free: 11.35 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002285/0.4055, allocations: 164.5 kB / 321.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.4055, allocations: 0 / 321.1 MB, free: 11.19 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006183/0.4062, allocations: 75.84 kB / 321.2 MB, free: 11.11 MB / 266.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.0001696/0.4063, allocations: 107.2 kB / 321.3 MB, free: 11 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002713/0.4091, allocations: 486.3 kB / 321.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4091, allocations: 0 / 321.8 MB, free: 10.51 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001936/0.4111, allocations: 350.7 kB / 322.1 MB, free: 10.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000486/0.4116, allocations: 36.34 kB / 322.1 MB, free: 10.12 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002092/0.4137, allocations: 0.7014 MB / 322.8 MB, free: 9.387 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.4141, allocations: 0.7518 MB / 323.6 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.965e-05/0.4142, allocations: 15.44 kB / 323.6 MB, free: 8.59 MB / 266.7 MB Notification: Performance of SimCode: time 1.533e-06/0.4142, allocations: 0 / 323.6 MB, free: 8.59 MB / 266.7 MB Notification: Performance of Templates: time 0.00954/0.4238, allocations: 4.017 MB / 327.6 MB, free: 4.57 MB / 266.7 MB