Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 1.643/1.643, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.76e-05/3.802e-05, allocations: 4 kB / 228.1 MB, free: 7.324 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1056, allocations: 38.76 MB / 266.9 MB, free: 488 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003568/0.1092, allocations: 2.14 MB / 269.1 MB, free: 14.31 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001366/0.1106, allocations: 0.5965 MB / 269.6 MB, free: 13.71 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1108, allocations: 8 kB / 269.7 MB, free: 13.7 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.752e-05/0.1109, allocations: 35.75 kB / 269.7 MB, free: 13.67 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003227/0.1112, allocations: 95.66 kB / 269.8 MB, free: 13.57 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000218/0.1114, allocations: 63.91 kB / 269.8 MB, free: 13.51 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003395/0.1118, allocations: 183.5 kB / 270 MB, free: 13.33 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001717/0.112, allocations: 52.39 kB / 270.1 MB, free: 13.28 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002213/0.1122, allocations: 103.7 kB / 270.2 MB, free: 13.18 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.1125, allocations: 135.5 kB / 270.3 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.797e-05/0.1126, allocations: 15.94 kB / 270.3 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.885e-05/0.1126, allocations: 12 kB / 270.3 MB, free: 13.02 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 6.803e-05/0.1127, allocations: 51.8 kB / 270.4 MB, free: 12.96 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.333e-05/0.1128, allocations: 24 kB / 270.4 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003635/0.1132, allocations: 247.5 kB / 270.7 MB, free: 12.7 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.996e-06/0.1132, allocations: 0 / 270.7 MB, free: 12.7 MB / 234.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.1132, allocations: 4 kB / 270.7 MB, free: 12.7 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.002e-05/0.1132, allocations: 0 / 270.7 MB, free: 12.7 MB / 234.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.002086/0.1153, allocations: 0.5889 MB / 271.2 MB, free: 12.06 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.1154, allocations: 12.03 kB / 271.3 MB, free: 12.05 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1155, allocations: 27.62 kB / 271.3 MB, free: 12.02 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.1159, allocations: 251.5 kB / 271.5 MB, free: 11.73 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.874e-05/0.1159, allocations: 20.39 kB / 271.6 MB, free: 11.71 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.135e-05/0.116, allocations: 20 kB / 271.6 MB, free: 11.69 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.1171, allocations: 324.3 kB / 271.9 MB, free: 11.35 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.352e-05/0.1172, allocations: 0 / 271.9 MB, free: 11.35 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.02e-05/0.1172, allocations: 12 kB / 271.9 MB, free: 11.34 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1172, allocations: 4 kB / 271.9 MB, free: 11.34 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.1186, allocations: 289.5 kB / 272.2 MB, free: 11.05 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002727/0.1214, allocations: 1.246 MB / 273.4 MB, free: 9.723 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00345/0.1249, allocations: 494.2 kB / 273.9 MB, free: 9.23 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.1249, allocations: 3.938 kB / 273.9 MB, free: 9.227 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.978e-05/0.125, allocations: 46.48 kB / 274 MB, free: 9.172 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 2.475e-06/0.125, allocations: 0 / 274 MB, free: 9.172 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.009046/0.134, allocations: 1.124 MB / 275.1 MB, free: 8.02 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.698e-05/0.1341, allocations: 55.39 kB / 275.1 MB, free: 7.953 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003249/0.1344, allocations: 200.2 kB / 275.3 MB, free: 7.754 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 4.288e-05/0.1345, allocations: 29.7 kB / 275.4 MB, free: 7.719 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001481/0.1346, allocations: 167.9 kB / 275.5 MB, free: 7.551 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.194e-05/0.1347, allocations: 51.3 kB / 275.6 MB, free: 7.5 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.281e-05/0.1348, allocations: 4 kB / 275.6 MB, free: 7.496 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.135, allocations: 334.8 kB / 275.9 MB, free: 7.16 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006299/0.1356, allocations: 115.9 kB / 276 MB, free: 7.047 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000661/0.1363, allocations: 143.4 kB / 276.2 MB, free: 6.895 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/0.1369, allocations: 123.9 kB / 276.3 MB, free: 6.773 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1369, allocations: 0 / 276.3 MB, free: 6.773 MB / 234.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.005424/0.1424, allocations: 0.7145 MB / 277 MB, free: 6.051 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.306e-05/0.1424, allocations: 4 kB / 277 MB, free: 6.047 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1424, allocations: 4 kB / 277 MB, free: 6.043 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001217/0.1437, allocations: 240.6 kB / 277.2 MB, free: 5.805 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003322/0.144, allocations: 43.91 kB / 277.3 MB, free: 5.762 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01192/0.1559, allocations: 2.677 MB / 280 MB, free: 2.949 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005226/0.1565, allocations: 43.86 kB / 280 MB, free: 2.906 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.1566, allocations: 7.984 kB / 280 MB, free: 2.898 MB / 234.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.0002125/0.1568, allocations: 129.8 kB / 280.1 MB, free: 2.762 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.663e-05/0.1569, allocations: 27.83 kB / 280.2 MB, free: 2.734 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.051e-05/0.157, allocations: 21.83 kB / 280.2 MB, free: 2.715 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.157, allocations: 4 kB / 280.2 MB, free: 2.711 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.157, allocations: 3.938 kB / 280.2 MB, free: 2.707 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.157, allocations: 0 / 280.2 MB, free: 2.707 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.1576, allocations: 329.3 kB / 280.5 MB, free: 2.336 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-06/0.1577, allocations: 0 / 280.5 MB, free: 2.336 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003065/0.158, allocations: 35.97 kB / 280.6 MB, free: 2.301 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.1592, allocations: 236.6 kB / 280.8 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.483e-05/0.1592, allocations: 0 / 280.8 MB, free: 2.066 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01184/0.1711, allocations: 2.673 MB / 283.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.1711, allocations: 4.062 kB / 283.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006044/0.1772, allocations: 0.9214 MB / 284.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001906/0.1774, allocations: 116.8 kB / 284.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.1775, allocations: 4 kB / 284.5 MB, free: 14.17 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005228/0.178, allocations: 35.97 kB / 284.5 MB, free: 14.13 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.653e-05/0.1781, allocations: 16 kB / 284.6 MB, free: 14.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.1781, allocations: 8 kB / 284.6 MB, free: 14.11 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002251/0.1784, allocations: 160.5 kB / 284.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1784, allocations: 4 kB / 284.7 MB, free: 13.95 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006006/0.179, allocations: 75.84 kB / 284.8 MB, free: 13.88 MB / 250.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.0001685/0.1792, allocations: 107.2 kB / 284.9 MB, free: 13.76 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002693/0.1819, allocations: 482.4 kB / 285.4 MB, free: 13.28 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1819, allocations: 0 / 285.4 MB, free: 13.28 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001924/0.1838, allocations: 350.6 kB / 285.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.1842, allocations: 42.41 kB / 285.8 MB, free: 12.88 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001985/0.1862, allocations: 0.6723 MB / 286.4 MB, free: 12.18 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.1866, allocations: 0.7518 MB / 287.2 MB, free: 11.41 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001178/0.1868, allocations: 13.55 kB / 287.2 MB, free: 11.39 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.635e-05/0.1868, allocations: 19.42 kB / 287.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of SimCode: time 6.21e-07/0.1868, allocations: 0 / 287.2 MB, free: 11.38 MB / 250.7 MB Notification: Performance of Templates: time 0.01302/0.1999, allocations: 4.51 MB / 291.7 MB, free: 6.871 MB / 250.7 MB