Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|CL.v",fileNamePrefix="Modelica_3.2.1_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 1.784/1.784, allocations: 171.1 MB / 186.3 MB, free: 1.414 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.733e-05/3.72e-05, allocations: 3.984 kB / 228.1 MB, free: 7.992 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1037, allocations: 38.77 MB / 266.9 MB, free: 1.133 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003745/0.1075, allocations: 2.138 MB / 269 MB, free: 14.96 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1092, allocations: 0.6003 MB / 269.6 MB, free: 14.37 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.1095, allocations: 8 kB / 269.6 MB, free: 14.36 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.999e-05/0.1096, allocations: 31.77 kB / 269.7 MB, free: 14.33 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003597/0.1099, allocations: 91.7 kB / 269.8 MB, free: 14.24 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002715/0.1102, allocations: 67.84 kB / 269.8 MB, free: 14.17 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.1106, allocations: 183.5 kB / 270 MB, free: 13.99 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001904/0.1108, allocations: 48.39 kB / 270.1 MB, free: 13.94 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000263/0.1111, allocations: 111.7 kB / 270.2 MB, free: 13.83 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002632/0.1114, allocations: 131.5 kB / 270.3 MB, free: 13.7 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.86e-05/0.1115, allocations: 16 kB / 270.3 MB, free: 13.69 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.842e-05/0.1115, allocations: 12 kB / 270.3 MB, free: 13.68 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.333e-05/0.1116, allocations: 55.73 kB / 270.4 MB, free: 13.62 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.744e-05/0.1117, allocations: 24 kB / 270.4 MB, free: 13.6 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003727/0.1121, allocations: 243.6 kB / 270.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1121, allocations: 0 / 270.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.1121, allocations: 0 / 270.6 MB, free: 13.36 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.315e-05/0.1122, allocations: 4 kB / 270.6 MB, free: 13.36 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.002179/0.1144, allocations: 0.585 MB / 271.2 MB, free: 12.72 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.1144, allocations: 19.97 kB / 271.2 MB, free: 12.7 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001287/0.1146, allocations: 31.62 kB / 271.3 MB, free: 12.67 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004222/0.115, allocations: 251.5 kB / 271.5 MB, free: 12.38 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.465e-05/0.1151, allocations: 20.39 kB / 271.5 MB, free: 12.36 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.1152, allocations: 24 kB / 271.6 MB, free: 12.34 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.1163, allocations: 320.3 kB / 271.9 MB, free: 12 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/0.1163, allocations: 0 / 271.9 MB, free: 12 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.1164, allocations: 8 kB / 271.9 MB, free: 12 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.321e-05/0.1164, allocations: 8 kB / 271.9 MB, free: 11.99 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001379/0.1178, allocations: 293.5 kB / 272.2 MB, free: 11.7 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002957/0.1208, allocations: 1.246 MB / 273.4 MB, free: 10.37 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.1244, allocations: 486.3 kB / 273.9 MB, free: 9.887 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.1245, allocations: 3.938 kB / 273.9 MB, free: 9.883 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.1245, allocations: 38.5 kB / 273.9 MB, free: 9.836 MB / 234.7 MB Notification: Performance of pre-optimization done (n=14): time 3.056e-06/0.1245, allocations: 0 / 273.9 MB, free: 9.836 MB / 234.7 MB Notification: Performance of matching and sorting (n=14): time 0.00922/0.1337, allocations: 1.12 MB / 275.1 MB, free: 8.688 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.541e-05/0.1339, allocations: 55.41 kB / 275.1 MB, free: 8.621 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.1342, allocations: 204.2 kB / 275.3 MB, free: 8.418 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 5.545e-05/0.1343, allocations: 25.7 kB / 275.3 MB, free: 8.387 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.1345, allocations: 226.4 kB / 275.6 MB, free: 8.164 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.1346, allocations: 55.28 kB / 275.6 MB, free: 8.109 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.1346, allocations: 0 / 275.6 MB, free: 8.109 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001288/0.1348, allocations: 318.8 kB / 275.9 MB, free: 7.789 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/0.1354, allocations: 119.9 kB / 276 MB, free: 7.672 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.1361, allocations: 147.4 kB / 276.2 MB, free: 7.516 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006318/0.1367, allocations: 116 kB / 276.3 MB, free: 7.402 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.1367, allocations: 0 / 276.3 MB, free: 7.402 MB / 234.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.005395/0.1421, allocations: 0.7029 MB / 277 MB, free: 6.691 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/0.1422, allocations: 4 kB / 277 MB, free: 6.688 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.1422, allocations: 0 / 277 MB, free: 6.688 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.1435, allocations: 240.6 kB / 277.2 MB, free: 6.449 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003644/0.1439, allocations: 39.98 kB / 277.3 MB, free: 6.41 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01198/0.1559, allocations: 2.689 MB / 280 MB, free: 3.586 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.1565, allocations: 39.81 kB / 280 MB, free: 3.547 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.859e-05/0.1565, allocations: 11.98 kB / 280 MB, free: 3.535 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.0001989/0.1568, allocations: 133.8 kB / 280.1 MB, free: 3.395 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.937e-05/0.1568, allocations: 27.61 kB / 280.2 MB, free: 3.367 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.1e-05/0.1569, allocations: 29.84 kB / 280.2 MB, free: 3.34 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.1569, allocations: 3.984 kB / 280.2 MB, free: 3.336 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.157, allocations: 0 / 280.2 MB, free: 3.336 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.157, allocations: 0 / 280.2 MB, free: 3.336 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.1575, allocations: 325.4 kB / 280.5 MB, free: 2.969 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.1576, allocations: 4 kB / 280.5 MB, free: 2.965 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.1579, allocations: 35.86 kB / 280.6 MB, free: 2.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001154/0.159, allocations: 232.7 kB / 280.8 MB, free: 2.699 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.498e-05/0.1591, allocations: 7.984 kB / 280.8 MB, free: 2.691 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0118/0.1709, allocations: 2.677 MB / 283.5 MB, free: 15.87 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/0.1709, allocations: 0 / 283.5 MB, free: 15.87 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00613/0.1771, allocations: 0.9135 MB / 284.4 MB, free: 14.94 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002006/0.1773, allocations: 113 kB / 284.5 MB, free: 14.81 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/0.1774, allocations: 7.984 kB / 284.5 MB, free: 14.8 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005147/0.178, allocations: 31.98 kB / 284.5 MB, free: 14.77 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.93e-05/0.178, allocations: 15.94 kB / 284.6 MB, free: 14.75 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.297e-05/0.1781, allocations: 7.984 kB / 284.6 MB, free: 14.75 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0002267/0.1783, allocations: 168.5 kB / 284.7 MB, free: 14.58 MB / 250.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1783, allocations: 0 / 284.7 MB, free: 14.58 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0006359/0.179, allocations: 79.84 kB / 284.8 MB, free: 14.5 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.0001674/0.1792, allocations: 103.2 kB / 284.9 MB, free: 14.39 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.002808/0.182, allocations: 486.3 kB / 285.4 MB, free: 13.91 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.182, allocations: 0 / 285.4 MB, free: 13.91 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.184, allocations: 351.3 kB / 285.7 MB, free: 13.55 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.1845, allocations: 30.48 kB / 285.8 MB, free: 13.52 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002126/0.1866, allocations: 0.7085 MB / 286.5 MB, free: 12.78 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003651/0.187, allocations: 0.7518 MB / 287.2 MB, free: 12 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.376e-05/0.1872, allocations: 15.44 kB / 287.2 MB, free: 11.99 MB / 250.7 MB Notification: Performance of SimCode: time 1.483e-06/0.1872, allocations: 0 / 287.2 MB, free: 11.99 MB / 250.7 MB Notification: Performance of Templates: time 0.009717/0.1969, allocations: 4.02 MB / 291.2 MB, free: 7.961 MB / 250.7 MB