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 1.05/1.05, allocations: 111.1 MB / 126.3 MB, free: 6.414 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.288e-05, allocations: 4 kB / 154.5 MB, free: 2.836 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06901/0.06907, allocations: 25.17 MB / 179.7 MB, free: 9.625 MB / 154.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OvervoltageProtection): time 0.003511/0.07264, allocations: 2.039 MB / 181.7 MB, free: 7.578 MB / 154.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.07404, allocations: 0.5188 MB / 182.2 MB, free: 7.059 MB / 154.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001516/0.07421, allocations: 8 kB / 182.2 MB, free: 7.051 MB / 154.7 MB Notification: Performance of NFTyping.typeComponents: time 8.505e-05/0.07431, allocations: 31.75 kB / 182.3 MB, free: 7.02 MB / 154.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.07459, allocations: 99.7 kB / 182.4 MB, free: 6.922 MB / 154.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002974/0.0749, allocations: 67.84 kB / 182.4 MB, free: 6.855 MB / 154.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.07528, allocations: 183.6 kB / 182.6 MB, free: 6.676 MB / 154.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001676/0.07547, allocations: 52.34 kB / 182.7 MB, free: 6.625 MB / 154.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002313/0.07571, allocations: 107.7 kB / 182.8 MB, free: 6.52 MB / 154.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.07597, allocations: 127.6 kB / 182.9 MB, free: 6.395 MB / 154.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.493e-05/0.07605, allocations: 12 kB / 182.9 MB, free: 6.383 MB / 154.7 MB Notification: Performance of NFPackage.collectConstants: time 5.072e-05/0.07611, allocations: 12 kB / 182.9 MB, free: 6.371 MB / 154.7 MB Notification: Performance of NFScalarize.scalarize: time 7.419e-05/0.07619, allocations: 51.8 kB / 183 MB, free: 6.32 MB / 154.7 MB Notification: Performance of NFVerifyModel.verify: time 8.283e-05/0.07629, allocations: 28 kB / 183 MB, free: 6.293 MB / 154.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003497/0.07665, allocations: 239.6 kB / 183.2 MB, free: 6.059 MB / 154.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.07666, allocations: 0 / 183.2 MB, free: 6.059 MB / 154.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.07668, allocations: 0 / 183.2 MB, free: 6.059 MB / 154.7 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.07669, allocations: 0 / 183.2 MB, free: 6.059 MB / 154.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.002125/0.07883, allocations: 0.5966 MB / 183.8 MB, free: 5.414 MB / 154.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.78e-05/0.07891, allocations: 8.031 kB / 183.8 MB, free: 5.406 MB / 154.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.914e-05/0.07902, allocations: 35.56 kB / 183.9 MB, free: 5.371 MB / 154.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004302/0.07946, allocations: 251.5 kB / 184.1 MB, free: 5.082 MB / 154.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.614e-05/0.0795, allocations: 16.44 kB / 184.1 MB, free: 5.066 MB / 154.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.802e-05/0.07958, allocations: 16 kB / 184.2 MB, free: 5.051 MB / 154.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.08066, allocations: 302.6 kB / 184.4 MB, free: 4.742 MB / 154.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.08069, allocations: 0 / 184.4 MB, free: 4.742 MB / 154.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.08075, allocations: 16 kB / 184.5 MB, free: 4.727 MB / 154.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.154e-05/0.08077, allocations: 7.953 kB / 184.5 MB, free: 4.719 MB / 154.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.08214, allocations: 285.5 kB / 184.8 MB, free: 4.441 MB / 154.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002654/0.08481, allocations: 1.077 MB / 185.8 MB, free: 3.281 MB / 154.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003528/0.08838, allocations: 490.2 kB / 186.3 MB, free: 2.793 MB / 154.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.112e-05/0.08845, allocations: 0 / 186.3 MB, free: 2.793 MB / 154.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.0885, allocations: 34.56 kB / 186.3 MB, free: 2.75 MB / 154.7 MB Notification: Performance of pre-optimization done (n=14): time 1.823e-06/0.08851, allocations: 4 kB / 186.3 MB, free: 2.746 MB / 154.7 MB Notification: Performance of matching and sorting (n=14): time 0.009496/0.09802, allocations: 1.155 MB / 187.5 MB, free: 1.562 MB / 154.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.09813, allocations: 55.41 kB / 187.6 MB, free: 1.496 MB / 154.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000336/0.09847, allocations: 196.2 kB / 187.7 MB, free: 1.301 MB / 154.7 MB Notification: Performance of collectPreVariables (initialization): time 5.187e-05/0.09854, allocations: 25.7 kB / 187.8 MB, free: 1.27 MB / 154.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.09872, allocations: 218.5 kB / 188 MB, free: 1.055 MB / 154.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.0988, allocations: 47.3 kB / 188 MB, free: 1.008 MB / 154.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.031e-05/0.09883, allocations: 0 / 188 MB, free: 1.008 MB / 154.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.09902, allocations: 322.8 kB / 188.3 MB, free: 0.6836 MB / 154.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006223/0.09965, allocations: 111.9 kB / 188.5 MB, free: 0.5742 MB / 154.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006249/0.1003, allocations: 133.6 kB / 188.6 MB, free: 448 kB / 154.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006391/0.1009, allocations: 121.7 kB / 188.7 MB, free: 328 kB / 154.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.101, allocations: 0 / 188.7 MB, free: 328 kB / 154.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.005459/0.1064, allocations: 0.6814 MB / 189.4 MB, free: 15.63 MB / 170.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.11e-05/0.1065, allocations: 4 kB / 189.4 MB, free: 15.62 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.179e-05/0.1065, allocations: 4 kB / 189.4 MB, free: 15.62 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001249/0.1078, allocations: 232.6 kB / 189.6 MB, free: 15.39 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.1081, allocations: 35.97 kB / 189.7 MB, free: 15.36 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.1206, allocations: 2.685 MB / 192.3 MB, free: 12.54 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005072/0.1212, allocations: 39.86 kB / 192.4 MB, free: 12.5 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.422e-05/0.1212, allocations: 11.92 kB / 192.4 MB, free: 12.48 MB / 170.7 MB Warning: Assuming fixed start value for the following 1 variables: CL.v:VARIABLE(unit = "V" fixed = true ) "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.0002355/0.1215, allocations: 134.4 kB / 192.5 MB, free: 12.34 MB / 170.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.898e-05/0.1215, allocations: 19.81 kB / 192.5 MB, free: 12.32 MB / 170.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.338e-05/0.1216, allocations: 25.83 kB / 192.6 MB, free: 12.3 MB / 170.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1216, allocations: 4 kB / 192.6 MB, free: 12.29 MB / 170.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.1217, allocations: 4 kB / 192.6 MB, free: 12.29 MB / 170.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1217, allocations: 0 / 192.6 MB, free: 12.29 MB / 170.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005692/0.1222, allocations: 333.2 kB / 192.9 MB, free: 11.91 MB / 170.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1223, allocations: 3.938 kB / 192.9 MB, free: 11.91 MB / 170.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002881/0.1226, allocations: 31.97 kB / 192.9 MB, free: 11.88 MB / 170.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/0.1238, allocations: 228.6 kB / 193.2 MB, free: 11.65 MB / 170.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.1238, allocations: 11.98 kB / 193.2 MB, free: 11.64 MB / 170.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01225/0.1361, allocations: 2.681 MB / 195.9 MB, free: 8.828 MB / 170.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.1361, allocations: 0 / 195.9 MB, free: 8.828 MB / 170.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006281/0.1424, allocations: 0.9099 MB / 196.8 MB, free: 7.898 MB / 170.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002058/0.1427, allocations: 116.8 kB / 196.9 MB, free: 7.766 MB / 170.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.511e-05/0.1428, allocations: 15.89 kB / 196.9 MB, free: 7.75 MB / 170.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.1433, allocations: 36.03 kB / 196.9 MB, free: 7.715 MB / 170.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.1434, allocations: 11.98 kB / 196.9 MB, free: 7.703 MB / 170.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.1435, allocations: 4 kB / 196.9 MB, free: 7.699 MB / 170.7 MB Notification: Performance of sorting global known variables: time 0.0002387/0.1437, allocations: 164.5 kB / 197.1 MB, free: 7.535 MB / 170.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1437, allocations: 0 / 197.1 MB, free: 7.535 MB / 170.7 MB Notification: Performance of remove unused functions: time 0.0006374/0.1444, allocations: 75.84 kB / 197.2 MB, free: 7.461 MB / 170.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.0001911/0.1446, allocations: 103.2 kB / 197.3 MB, free: 7.352 MB / 170.7 MB Notification: Performance of simCode: created initialization part: time 0.003013/0.1476, allocations: 489 kB / 197.8 MB, free: 6.863 MB / 170.7 MB Notification: Performance of simCode: created event and clocks part: time 7.094e-06/0.1477, allocations: 0 / 197.8 MB, free: 6.863 MB / 170.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.1498, allocations: 366.5 kB / 198.1 MB, free: 6.492 MB / 170.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006981/0.1506, allocations: 56.56 kB / 198.2 MB, free: 6.434 MB / 170.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001787/0.1524, allocations: 0.6702 MB / 198.8 MB, free: 5.727 MB / 170.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.1528, allocations: 0.7479 MB / 199.6 MB, free: 4.953 MB / 170.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.466e-05/0.1529, allocations: 19.44 kB / 199.6 MB, free: 4.934 MB / 170.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1529, allocations: 0 / 199.6 MB, free: 4.934 MB / 170.7 MB Notification: Performance of Templates: time 0.00966/0.1626, allocations: 3.966 MB / 203.6 MB, free: 0.9688 MB / 170.7 MB