Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OvervoltageProtection,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_OvervoltageProtection",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.52/2.52, allocations: 195 MB / 202.9 MB, free: 6.719 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.019e-05/3.037e-05, allocations: 4.125 kB / 249.8 MB, free: 5.27 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 44.51 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6089/0.732, allocations: 72.45 MB / 366.7 MB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.7324, allocations: 69.77 kB / 366.8 MB, free: 6.902 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03811/0.7705, allocations: 4.62 MB / 371.4 MB, free: 22.25 MB / 314.7 MB Notification: Performance of FrontEnd: time 4.208e-06/0.7706, allocations: 2.766 kB / 371.4 MB, free: 22.25 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.044e-05/0.7706, allocations: 3.875 kB / 371.4 MB, free: 22.25 MB / 314.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.002306/0.773, allocations: 0.5242 MB / 371.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.815e-05/0.7731, allocations: 11.66 kB / 371.9 MB, free: 21.84 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.7732, allocations: 46.38 kB / 372 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.7734, allocations: 39.08 kB / 372 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005839/0.774, allocations: 263.8 kB / 372.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.7741, allocations: 8.188 kB / 372.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/0.7742, allocations: 11.59 kB / 372.3 MB, free: 21.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008931/0.7751, allocations: 162.8 kB / 372.5 MB, free: 21.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009758/0.7761, allocations: 235.9 kB / 372.7 MB, free: 21.47 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.214e-05/0.7762, allocations: 4 kB / 372.7 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/0.7762, allocations: 2.859 kB / 372.7 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.896e-05/0.7763, allocations: 15.72 kB / 372.7 MB, free: 21.46 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004307/0.7806, allocations: 1.203 MB / 373.9 MB, free: 20.72 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003953/0.7846, allocations: 324.6 kB / 374.2 MB, free: 20.69 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004239/0.7851, allocations: 101.1 kB / 374.3 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.732e-05/0.7852, allocations: 8.719 kB / 374.3 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.7852, allocations: 30.56 kB / 374.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 4.819e-06/0.7853, allocations: 0 / 374.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.007822/0.7931, allocations: 0.5179 MB / 374.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.7932, allocations: 55.41 kB / 374.9 MB, free: 20.5 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004491/0.7937, allocations: 177.5 kB / 375.1 MB, free: 20.41 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.245e-05/0.7938, allocations: 25.7 kB / 375.1 MB, free: 20.38 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001888/0.794, allocations: 171.7 kB / 375.3 MB, free: 20.25 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.489e-05/0.7942, allocations: 47.22 kB / 375.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.999e-05/0.7942, allocations: 0 / 375.4 MB, free: 20.22 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.7945, allocations: 335.2 kB / 375.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.7948, allocations: 58.52 kB / 375.7 MB, free: 19.91 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000342/0.7952, allocations: 92.16 kB / 375.8 MB, free: 19.87 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003626/0.7956, allocations: 70.08 kB / 375.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.7956, allocations: 0 / 375.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.007863/0.8035, allocations: 0.5412 MB / 376.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.81e-05/0.8036, allocations: 11.84 kB / 376.5 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.8036, allocations: 0 / 376.5 MB, free: 19.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008092/0.8044, allocations: 135 kB / 376.6 MB, free: 19.78 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005965/0.805, allocations: 41.02 kB / 376.6 MB, free: 19.77 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01325/0.8183, allocations: 2.094 MB / 378.7 MB, free: 18.47 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.8194, allocations: 45.3 kB / 378.8 MB, free: 18.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.332e-05/0.8195, allocations: 7.016 kB / 378.8 MB, free: 18.45 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: zDiode.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: 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.0003466/0.8199, allocations: 112.6 kB / 378.9 MB, free: 18.34 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/0.8201, allocations: 15.69 kB / 378.9 MB, free: 18.33 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001405/0.8203, allocations: 32.2 kB / 378.9 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.8203, allocations: 0 / 378.9 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.8203, allocations: 4 kB / 378.9 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.138e-06/0.8204, allocations: 3.188 kB / 378.9 MB, free: 18.32 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00088/0.8212, allocations: 287 kB / 379.2 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.8213, allocations: 0 / 379.2 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005596/0.8219, allocations: 37.28 kB / 379.3 MB, free: 18.15 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007329/0.8226, allocations: 135.3 kB / 379.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.976e-05/0.8227, allocations: 6.984 kB / 379.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01453/0.8373, allocations: 2.113 MB / 381.5 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.558e-06/0.8373, allocations: 0 / 381.5 MB, free: 16.84 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008497/0.8459, allocations: 0.7129 MB / 382.2 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002131/0.8461, allocations: 92.73 kB / 382.3 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.8463, allocations: 2.438 kB / 382.3 MB, free: 16.55 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001058/0.8474, allocations: 46.42 kB / 382.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.577e-05/0.8475, allocations: 10.14 kB / 382.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.451e-05/0.8476, allocations: 9.312 kB / 382.4 MB, free: 16.54 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003105/0.8479, allocations: 143.4 kB / 382.5 MB, free: 16.46 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.8479, allocations: 0 / 382.5 MB, free: 16.46 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001472/0.8494, allocations: 76.84 kB / 382.6 MB, free: 16.45 MB / 314.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.009497/0.8589, allocations: 1.25 MB / 383.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003357/0.8624, allocations: 361.8 kB / 384.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/0.8624, allocations: 0 / 384.2 MB, free: 15.63 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003161/0.8656, allocations: 305 kB / 384.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007613/0.8664, allocations: 26.39 kB / 384.5 MB, free: 15.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.8694, allocations: 404.2 kB / 384.9 MB, free: 15.3 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006489/0.8701, allocations: 0.7515 MB / 385.7 MB, free: 14.59 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002585/0.8704, allocations: 21.06 kB / 385.7 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.8707, allocations: 68.41 kB / 385.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of SimCode: time 2.014e-06/0.8707, allocations: 3.875 kB / 385.8 MB, free: 14.56 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06902/0.9398, allocations: 5.907 MB / 391.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002874/0.9401, allocations: 159.2 kB / 391.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.731/4.671, allocations: 7.938 kB / 391.8 MB, free: 11.41 MB / 314.7 MB