Running command: translateModel(Modelica.Electrical.Analog.Examples.OvervoltageProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_cpp_Modelica.Electrical.Analog.Examples.OvervoltageProtection") Notification: Performance of loadModel(Modelica): time 0.9926/0.9926, allocations: 111.2 MB / 123.8 MB, free: 11.16 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 2.296e-05/2.304e-05, allocations: 4 kB / 151.4 MB, free: 15.58 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1526/0.1526, allocations: 25.15 MB / 176.5 MB, free: 12 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0542/0.2069, allocations: 35.42 MB / 212 MB, free: 14.04 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.2071, allocations: 63.95 kB / 212 MB, free: 13.97 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01899/0.2262, allocations: 4.537 MB / 216.6 MB, free: 9.422 MB / 186.7 MB Notification: Performance of FrontEnd: time 2.207e-06/0.2262, allocations: 0 / 216.6 MB, free: 9.422 MB / 186.7 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.2262, allocations: 7.938 kB / 216.6 MB, free: 9.414 MB / 186.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.001128/0.2274, allocations: 0.5333 MB / 217.1 MB, free: 8.836 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.2274, allocations: 12.03 kB / 217.1 MB, free: 8.824 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.654e-05/0.2275, allocations: 27.62 kB / 217.1 MB, free: 8.797 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004026/0.228, allocations: 243.7 kB / 217.4 MB, free: 8.516 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.74e-05/0.228, allocations: 16.42 kB / 217.4 MB, free: 8.5 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.306e-05/0.2281, allocations: 27.91 kB / 217.4 MB, free: 8.473 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005772/0.2287, allocations: 241.8 kB / 217.7 MB, free: 8.223 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.2287, allocations: 3.953 kB / 217.7 MB, free: 8.219 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.2287, allocations: 12 kB / 217.7 MB, free: 8.207 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.159e-06/0.2288, allocations: 4 kB / 217.7 MB, free: 8.203 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.2293, allocations: 172.8 kB / 217.9 MB, free: 8.035 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.2316, allocations: 1.074 MB / 218.9 MB, free: 6.879 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001645/0.2333, allocations: 334.5 kB / 219.3 MB, free: 6.543 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002595/0.2335, allocations: 100.8 kB / 219.4 MB, free: 6.441 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.703e-05/0.2336, allocations: 7.875 kB / 219.4 MB, free: 6.434 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.2336, allocations: 42.55 kB / 219.4 MB, free: 6.383 MB / 186.7 MB Notification: Performance of pre-optimization done (n=14): time 2.914e-06/0.2336, allocations: 0 / 219.4 MB, free: 6.383 MB / 186.7 MB Notification: Performance of matching and sorting (n=14): time 0.003107/0.2368, allocations: 0.5255 MB / 219.9 MB, free: 5.844 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.851e-05/0.2368, allocations: 51.41 kB / 220 MB, free: 5.781 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000284/0.2371, allocations: 196.9 kB / 220.2 MB, free: 5.578 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/0.2372, allocations: 29.7 kB / 220.2 MB, free: 5.543 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001497/0.2373, allocations: 210.6 kB / 220.4 MB, free: 5.336 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.2374, allocations: 47.25 kB / 220.4 MB, free: 5.289 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.199e-05/0.2375, allocations: 15.94 kB / 220.5 MB, free: 5.273 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2376, allocations: 310.8 kB / 220.8 MB, free: 4.961 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001829/0.2378, allocations: 59.98 kB / 220.8 MB, free: 4.902 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002032/0.238, allocations: 82.42 kB / 220.9 MB, free: 4.816 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002058/0.2382, allocations: 62.64 kB / 221 MB, free: 4.758 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.62e-06/0.2383, allocations: 0 / 221 MB, free: 4.758 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00298/0.2413, allocations: 0.5331 MB / 221.5 MB, free: 4.215 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.2413, allocations: 8 kB / 221.5 MB, free: 4.207 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.359e-06/0.2413, allocations: 0 / 221.5 MB, free: 4.207 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004506/0.2418, allocations: 132.8 kB / 221.6 MB, free: 4.074 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.242, allocations: 39.98 kB / 221.7 MB, free: 4.035 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006112/0.2482, allocations: 2.151 MB / 223.8 MB, free: 1.754 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003746/0.2486, allocations: 51.86 kB / 223.9 MB, free: 1.703 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.2486, allocations: 4 kB / 223.9 MB, free: 1.699 MB / 186.7 MB Warning: Assuming fixed start value for the following 1 variables: CL.v:VARIABLE(unit = "V" ) "Voltage drop between the two pins (= p.v - n.v)" type: Real 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.0001538/0.2488, allocations: 116.9 kB / 224 MB, free: 1.578 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.664e-05/0.2489, allocations: 19.72 kB / 224 MB, free: 1.559 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.265e-05/0.2489, allocations: 21.97 kB / 224 MB, free: 1.535 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.587e-06/0.249, allocations: 4 kB / 224 MB, free: 1.531 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.224e-06/0.249, allocations: 4 kB / 224 MB, free: 1.527 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.748e-06/0.249, allocations: 3.984 kB / 224.1 MB, free: 1.523 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.2495, allocations: 321.4 kB / 224.4 MB, free: 1.16 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.543e-06/0.2496, allocations: 3.984 kB / 224.4 MB, free: 1.156 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000223/0.2498, allocations: 31.92 kB / 224.4 MB, free: 1.125 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003988/0.2502, allocations: 136.8 kB / 224.5 MB, free: 0.9883 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.2503, allocations: 4 kB / 224.5 MB, free: 0.9844 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005891/0.2562, allocations: 2.161 MB / 226.7 MB, free: 14.69 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.512e-06/0.2562, allocations: 0 / 226.7 MB, free: 14.69 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00323/0.2594, allocations: 0.716 MB / 227.4 MB, free: 13.96 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001767/0.2596, allocations: 112.8 kB / 227.5 MB, free: 13.83 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.2597, allocations: 4 kB / 227.5 MB, free: 13.82 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003863/0.2601, allocations: 40.03 kB / 227.6 MB, free: 13.79 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.112e-05/0.2602, allocations: 11.98 kB / 227.6 MB, free: 13.77 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.2602, allocations: 7.984 kB / 227.6 MB, free: 13.77 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.000205/0.2604, allocations: 153.4 kB / 227.7 MB, free: 13.62 MB / 202.7 MB Notification: Performance of sort global known variables: time 7.38e-07/0.2604, allocations: 0 / 227.7 MB, free: 13.62 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006137/0.2611, allocations: 83.84 kB / 227.8 MB, free: 13.54 MB / 202.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.0001809/0.2613, allocations: 107.2 kB / 227.9 MB, free: 13.42 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.2626, allocations: 363.9 kB / 228.3 MB, free: 13.06 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 3.502e-06/0.2626, allocations: 0 / 228.3 MB, free: 13.06 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001057/0.2637, allocations: 289.7 kB / 228.6 MB, free: 12.77 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004955/0.2642, allocations: 56.5 kB / 228.6 MB, free: 12.71 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008804/0.2651, allocations: 370 kB / 229 MB, free: 12.32 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.2656, allocations: 0.7519 MB / 229.7 MB, free: 11.54 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.2657, allocations: 19.44 kB / 229.7 MB, free: 11.52 MB / 202.7 MB Notification: Performance of SimCode: time 2.123e-06/0.2657, allocations: 0 / 229.7 MB, free: 11.52 MB / 202.7 MB Notification: Performance of Templates: time 0.008005/0.2737, allocations: 3.969 MB / 233.7 MB, free: 7.555 MB / 202.7 MB