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.861/1.861, allocations: 194.9 MB / 210.6 MB, free: 8.348 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.255e-05/3.255e-05, allocations: 11.91 kB / 258.8 MB, free: 8.047 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2987, allocations: 44.5 MB / 303.3 MB, free: 12.95 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003594/0.3023, allocations: 2.144 MB / 305.5 MB, free: 11.21 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.304, allocations: 0.6039 MB / 306.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001819/0.3042, allocations: 5.719 kB / 306.1 MB, free: 10.72 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.546e-05/0.3043, allocations: 30.88 kB / 306.1 MB, free: 10.69 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003659/0.3047, allocations: 98.75 kB / 306.2 MB, free: 10.6 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002543/0.305, allocations: 68.14 kB / 306.3 MB, free: 10.54 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003707/0.3053, allocations: 183.3 kB / 306.4 MB, free: 10.41 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.3055, allocations: 48.25 kB / 306.5 MB, free: 10.38 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002482/0.3058, allocations: 104 kB / 306.6 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.3061, allocations: 131.6 kB / 306.7 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.938e-05/0.3062, allocations: 16 kB / 306.7 MB, free: 10.18 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.045e-05/0.3062, allocations: 12 kB / 306.7 MB, free: 10.16 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.3063, allocations: 55.73 kB / 306.8 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.398e-05/0.3064, allocations: 24 kB / 306.8 MB, free: 10.09 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003623/0.3068, allocations: 245.7 kB / 307.1 MB, free: 9.848 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.3068, allocations: 0 / 307.1 MB, free: 9.848 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.3068, allocations: 0 / 307.1 MB, free: 9.848 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.229e-05/0.3068, allocations: 4 kB / 307.1 MB, free: 9.844 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.002182/0.309, allocations: 0.5887 MB / 307.7 MB, free: 9.207 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.101e-05/0.3091, allocations: 8.031 kB / 307.7 MB, free: 9.199 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.3092, allocations: 31.72 kB / 307.7 MB, free: 9.168 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004293/0.3097, allocations: 255.5 kB / 307.9 MB, free: 8.875 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/0.3097, allocations: 16.44 kB / 308 MB, free: 8.859 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.111e-05/0.3098, allocations: 20 kB / 308 MB, free: 8.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.3109, allocations: 332.2 kB / 308.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.3109, allocations: 0 / 308.3 MB, free: 8.492 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.311, allocations: 12 kB / 308.3 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.311, allocations: 4 kB / 308.3 MB, free: 8.477 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.3124, allocations: 293.5 kB / 308.6 MB, free: 8.191 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002844/0.3153, allocations: 1.249 MB / 309.9 MB, free: 6.855 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003475/0.3188, allocations: 482.3 kB / 310.3 MB, free: 6.375 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.3189, allocations: 7.984 kB / 310.3 MB, free: 6.367 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.319, allocations: 34.5 kB / 310.4 MB, free: 6.324 MB / 250.7 MB Notification: Performance of pre-optimization done (n=14): time 2.915e-06/0.319, allocations: 0 / 310.4 MB, free: 6.324 MB / 250.7 MB Notification: Performance of matching and sorting (n=14): time 0.009043/0.328, allocations: 1.124 MB / 311.5 MB, free: 5.172 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/0.3281, allocations: 51.41 kB / 311.5 MB, free: 5.109 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000343/0.3285, allocations: 212 kB / 311.8 MB, free: 4.895 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.867e-05/0.3285, allocations: 29.64 kB / 311.8 MB, free: 4.859 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.3287, allocations: 164.1 kB / 311.9 MB, free: 4.695 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.204e-05/0.3288, allocations: 51.3 kB / 312 MB, free: 4.645 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.113e-05/0.3288, allocations: 3.938 kB / 312 MB, free: 4.641 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3289, allocations: 326.8 kB / 312.3 MB, free: 4.312 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006121/0.3296, allocations: 123.9 kB / 312.4 MB, free: 4.191 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006298/0.3302, allocations: 150.2 kB / 312.6 MB, free: 4.035 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006351/0.3309, allocations: 120 kB / 312.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.94e-06/0.3309, allocations: 0 / 312.7 MB, free: 3.918 MB / 250.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.005467/0.3364, allocations: 0.7139 MB / 313.4 MB, free: 3.195 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/0.3364, allocations: 8 kB / 313.4 MB, free: 3.188 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.3365, allocations: 3.984 kB / 313.4 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.3377, allocations: 232.7 kB / 313.7 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003464/0.3381, allocations: 35.98 kB / 313.7 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01193/0.35, allocations: 2.673 MB / 316.4 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005345/0.3506, allocations: 51.84 kB / 316.4 MB, free: 60 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/0.3507, allocations: 7.984 kB / 316.4 MB, free: 52 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.0002181/0.3509, allocations: 129.8 kB / 316.5 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.904e-05/0.351, allocations: 19.81 kB / 316.6 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.072e-05/0.3511, allocations: 29.83 kB / 316.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.3511, allocations: 4 kB / 316.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.3511, allocations: 0 / 316.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.3511, allocations: 0 / 316.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005646/0.3517, allocations: 337.2 kB / 316.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3517, allocations: 0 / 316.9 MB, free: 15.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003142/0.352, allocations: 31.92 kB / 317 MB, free: 15.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.3532, allocations: 240.7 kB / 317.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.19e-05/0.3532, allocations: 7.984 kB / 317.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01185/0.3651, allocations: 2.673 MB / 319.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.3652, allocations: 0 / 319.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006139/0.3713, allocations: 0.9137 MB / 320.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.3715, allocations: 104.9 kB / 320.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.83e-05/0.3716, allocations: 3.953 kB / 320.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000527/0.3721, allocations: 43.91 kB / 320.9 MB, free: 11.29 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/0.3722, allocations: 7.984 kB / 320.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.3722, allocations: 4 kB / 320.9 MB, free: 11.28 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002324/0.3725, allocations: 168.5 kB / 321.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3725, allocations: 0 / 321.1 MB, free: 11.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006385/0.3731, allocations: 79.84 kB / 321.2 MB, free: 11.04 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.0001702/0.3733, allocations: 99.25 kB / 321.3 MB, free: 10.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.002741/0.3761, allocations: 492.6 kB / 321.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.3761, allocations: 0 / 321.8 MB, free: 10.43 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001936/0.3781, allocations: 350.7 kB / 322.1 MB, free: 10.08 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004477/0.3785, allocations: 36.41 kB / 322.1 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.3807, allocations: 0.6716 MB / 322.8 MB, free: 9.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.3811, allocations: 0.7518 MB / 323.6 MB, free: 8.57 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001479/0.3813, allocations: 17.53 kB / 323.6 MB, free: 8.555 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.468e-05/0.3813, allocations: 15.44 kB / 323.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of SimCode: time 9.92e-07/0.3814, allocations: 0 / 323.6 MB, free: 8.539 MB / 266.7 MB Notification: Performance of Templates: time 0.01368/0.395, allocations: 4.503 MB / 328.1 MB, free: 4.039 MB / 266.7 MB