Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_1_cpp_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.053/1.053, allocations: 111.2 MB / 123.8 MB, free: 11.2 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.572e-05, allocations: 4 kB / 151.5 MB, free: 15.54 MB / 138.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.174, allocations: 25.15 MB / 176.6 MB, free: 24 kB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.06566/0.2397, allocations: 35.43 MB / 212.1 MB, free: 14.04 MB / 186.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/0.24, allocations: 63.97 kB / 212.1 MB, free: 13.97 MB / 186.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02322/0.2632, allocations: 4.528 MB / 216.7 MB, free: 9.43 MB / 186.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2633, allocations: 0 / 216.7 MB, free: 9.43 MB / 186.7 MB Notification: Performance of Transformations before backend: time 4.454e-05/0.2633, allocations: 8 kB / 216.7 MB, free: 9.422 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.001512/0.2649, allocations: 0.5372 MB / 217.2 MB, free: 8.84 MB / 186.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.519e-05/0.2649, allocations: 8.031 kB / 217.2 MB, free: 8.832 MB / 186.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.38e-05/0.265, allocations: 54.55 kB / 217.3 MB, free: 8.77 MB / 186.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001013/0.2652, allocations: 27.62 kB / 217.3 MB, free: 8.742 MB / 186.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000452/0.2656, allocations: 255.5 kB / 217.5 MB, free: 8.449 MB / 186.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.2657, allocations: 12.44 kB / 217.6 MB, free: 8.438 MB / 186.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.922e-05/0.2657, allocations: 20 kB / 217.6 MB, free: 8.418 MB / 186.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006492/0.2664, allocations: 245.7 kB / 217.8 MB, free: 8.164 MB / 186.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.2664, allocations: 3.938 kB / 217.8 MB, free: 8.16 MB / 186.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.904e-05/0.2665, allocations: 12 kB / 217.8 MB, free: 8.148 MB / 186.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2665, allocations: 4 kB / 217.8 MB, free: 8.145 MB / 186.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005654/0.2671, allocations: 172.8 kB / 218 MB, free: 7.977 MB / 186.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.2699, allocations: 1.077 MB / 219.1 MB, free: 6.816 MB / 186.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002439/0.2724, allocations: 334.5 kB / 219.4 MB, free: 6.48 MB / 186.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/0.2727, allocations: 108.7 kB / 219.5 MB, free: 6.371 MB / 186.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/0.2728, allocations: 4 kB / 219.5 MB, free: 6.367 MB / 186.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/0.2728, allocations: 38.56 kB / 219.6 MB, free: 6.32 MB / 186.7 MB Notification: Performance of pre-optimization done (n=14): time 3.256e-06/0.2728, allocations: 0 / 219.6 MB, free: 6.32 MB / 186.7 MB Notification: Performance of matching and sorting (n=14): time 0.00466/0.2775, allocations: 0.5174 MB / 220.1 MB, free: 5.789 MB / 186.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.845e-05/0.2776, allocations: 55.34 kB / 220.1 MB, free: 5.723 MB / 186.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003857/0.278, allocations: 196.9 kB / 220.3 MB, free: 5.52 MB / 186.7 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-05/0.2781, allocations: 25.7 kB / 220.3 MB, free: 5.488 MB / 186.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.2783, allocations: 222.5 kB / 220.6 MB, free: 5.27 MB / 186.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.362e-05/0.2784, allocations: 43.34 kB / 220.6 MB, free: 5.227 MB / 186.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.235e-05/0.2784, allocations: 8 kB / 220.6 MB, free: 5.219 MB / 186.7 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.2786, allocations: 314.8 kB / 220.9 MB, free: 4.902 MB / 186.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002191/0.2788, allocations: 59.98 kB / 221 MB, free: 4.844 MB / 186.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002266/0.279, allocations: 78.42 kB / 221.1 MB, free: 4.762 MB / 186.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002399/0.2793, allocations: 60.77 kB / 221.1 MB, free: 4.703 MB / 186.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.2793, allocations: 0 / 221.1 MB, free: 4.703 MB / 186.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.004615/0.284, allocations: 0.5349 MB / 221.6 MB, free: 4.16 MB / 186.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.284, allocations: 8 kB / 221.7 MB, free: 4.152 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.2841, allocations: 0 / 221.7 MB, free: 4.152 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000535/0.2846, allocations: 140.7 kB / 221.8 MB, free: 4.012 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003366/0.285, allocations: 39.97 kB / 221.8 MB, free: 3.973 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008187/0.2932, allocations: 2.151 MB / 224 MB, free: 1.691 MB / 186.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/0.2937, allocations: 43.92 kB / 224 MB, free: 1.648 MB / 186.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.45e-05/0.2938, allocations: 11.97 kB / 224 MB, free: 1.637 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.0001548/0.294, allocations: 112.9 kB / 224.1 MB, free: 1.52 MB / 186.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.275e-05/0.294, allocations: 19.72 kB / 224.2 MB, free: 1.5 MB / 186.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.796e-05/0.2941, allocations: 29.89 kB / 224.2 MB, free: 1.469 MB / 186.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.2941, allocations: 8 kB / 224.2 MB, free: 1.461 MB / 186.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.2942, allocations: 0 / 224.2 MB, free: 1.461 MB / 186.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.2942, allocations: 3.953 kB / 224.2 MB, free: 1.457 MB / 186.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.2948, allocations: 325.7 kB / 224.5 MB, free: 1.09 MB / 186.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2948, allocations: 0 / 224.5 MB, free: 1.09 MB / 186.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000295/0.2951, allocations: 27.98 kB / 224.6 MB, free: 1.062 MB / 186.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/0.2955, allocations: 136.8 kB / 224.7 MB, free: 0.9258 MB / 186.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.229e-05/0.2956, allocations: 7.984 kB / 224.7 MB, free: 0.918 MB / 186.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007973/0.3036, allocations: 2.165 MB / 226.9 MB, free: 14.62 MB / 202.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3036, allocations: 0 / 226.9 MB, free: 14.62 MB / 202.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004888/0.3085, allocations: 0.7082 MB / 227.6 MB, free: 13.89 MB / 202.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002041/0.3088, allocations: 116.8 kB / 227.7 MB, free: 13.76 MB / 202.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.521e-05/0.3089, allocations: 8 kB / 227.7 MB, free: 13.75 MB / 202.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005297/0.3094, allocations: 36.03 kB / 227.7 MB, free: 13.72 MB / 202.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.477e-05/0.3095, allocations: 11.98 kB / 227.7 MB, free: 13.71 MB / 202.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.124e-05/0.3095, allocations: 7.984 kB / 227.7 MB, free: 13.7 MB / 202.7 MB Notification: Performance of sorting global known variables: time 0.0002239/0.3098, allocations: 157.4 kB / 227.9 MB, free: 13.55 MB / 202.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.3098, allocations: 0 / 227.9 MB, free: 13.55 MB / 202.7 MB Notification: Performance of remove unused functions: time 0.0006777/0.3105, allocations: 87.83 kB / 228 MB, free: 13.46 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.005341/0.3158, allocations: 1.263 MB / 229.2 MB, free: 12.17 MB / 202.7 MB Notification: Performance of simCode: created initialization part: time 0.001896/0.3178, allocations: 357.6 kB / 229.6 MB, free: 11.81 MB / 202.7 MB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.3178, allocations: 4.062 kB / 229.6 MB, free: 11.8 MB / 202.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.3193, allocations: 289.6 kB / 229.9 MB, free: 11.51 MB / 202.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006938/0.3201, allocations: 52.62 kB / 229.9 MB, free: 11.46 MB / 202.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.3213, allocations: 415.5 kB / 230.3 MB, free: 11.01 MB / 202.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000398/0.3218, allocations: 0.748 MB / 231.1 MB, free: 10.23 MB / 202.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.3219, allocations: 67.41 kB / 231.2 MB, free: 10.17 MB / 202.7 MB Notification: Performance of SimCode: time 9.81e-07/0.3219, allocations: 0 / 231.2 MB, free: 10.17 MB / 202.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.565/2.886, allocations: 5.038 MB / 236.2 MB, free: 5.133 MB / 202.7 MB