Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.633/1.633, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.361e-05/4.377e-05, allocations: 4 kB / 225.1 MB, free: 2.258 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.2557, allocations: 38.77 MB / 263.9 MB, free: 9.805 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1229/0.3787, allocations: 69.75 MB / 333.6 MB, free: 3.949 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002729/0.3791, allocations: 71.95 kB / 333.7 MB, free: 3.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02319/0.4023, allocations: 4.655 MB / 338.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4023, allocations: 0 / 338.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.15e-05/0.4024, allocations: 8 kB / 338.3 MB, free: 15.2 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001832/0.4042, allocations: 0.6059 MB / 338.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.4043, allocations: 12.03 kB / 339 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.674e-05/0.4044, allocations: 50.55 kB / 339 MB, free: 14.47 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.892e-05/0.4045, allocations: 31.62 kB / 339 MB, free: 14.44 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.4049, allocations: 255.7 kB / 339.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.519e-05/0.405, allocations: 24.39 kB / 339.3 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.434e-05/0.405, allocations: 16 kB / 339.3 MB, free: 14.11 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006647/0.4057, allocations: 237.9 kB / 339.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.4057, allocations: 4 kB / 339.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.698e-05/0.4058, allocations: 12 kB / 339.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.468e-06/0.4058, allocations: 4 kB / 339.6 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005657/0.4064, allocations: 177.7 kB / 339.8 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002948/0.4094, allocations: 1.027 MB / 340.8 MB, free: 12.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004897/0.4143, allocations: 479 kB / 341.2 MB, free: 12.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.4148, allocations: 160.8 kB / 341.4 MB, free: 11.94 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.107e-05/0.4149, allocations: 4 kB / 341.4 MB, free: 11.93 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004649/0.4154, allocations: 183.2 kB / 341.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.164e-06/0.4154, allocations: 0 / 341.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006837/0.4161, allocations: 214.5 kB / 341.8 MB, free: 11.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.785e-05/0.4162, allocations: 106.8 kB / 341.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.4165, allocations: 209 kB / 342.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.274e-05/0.4165, allocations: 33.7 kB / 342.1 MB, free: 11.14 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.4167, allocations: 160.2 kB / 342.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.468e-05/0.4168, allocations: 67 kB / 342.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.868e-05/0.4168, allocations: 4 kB / 342.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.417, allocations: 342.8 kB / 342.7 MB, free: 10.56 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.4173, allocations: 76.47 kB / 342.8 MB, free: 10.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003152/0.4176, allocations: 108.4 kB / 342.9 MB, free: 10.37 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.4179, allocations: 109.6 kB / 343 MB, free: 10.25 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.4179, allocations: 0 / 343 MB, free: 10.25 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007741/0.4187, allocations: 290.9 kB / 343.3 MB, free: 9.957 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.213e-05/0.4188, allocations: 33.7 kB / 343.3 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.4188, allocations: 0 / 343.3 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.4188, allocations: 0 / 343.3 MB, free: 9.918 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004314/0.4231, allocations: 335.7 kB / 343.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/0.4301, allocations: 3.048 MB / 346.7 MB, free: 6.285 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007626/0.4309, allocations: 75.83 kB / 346.8 MB, free: 6.211 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.266e-05/0.4309, allocations: 11.98 kB / 346.8 MB, free: 6.199 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001567/0.4311, allocations: 117.4 kB / 346.9 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.4312, allocations: 23.77 kB / 346.9 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.4313, allocations: 29.95 kB / 346.9 MB, free: 6.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.4313, allocations: 4 kB / 346.9 MB, free: 6.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.4313, allocations: 4 kB / 346.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4313, allocations: 0 / 346.9 MB, free: 6.016 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.4333, allocations: 0.8068 MB / 347.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.4333, allocations: 0 / 347.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004248/0.4375, allocations: 319.8 kB / 348.1 MB, free: 4.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.087e-06/0.4376, allocations: 4 kB / 348.1 MB, free: 4.832 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.845e-05/0.4376, allocations: 7.984 kB / 348.1 MB, free: 4.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006609/0.4442, allocations: 3.052 MB / 351.1 MB, free: 1.508 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-06/0.4443, allocations: 4.031 kB / 351.1 MB, free: 1.504 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001012/0.4453, allocations: 454.8 kB / 351.6 MB, free: 1.027 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001974/0.4455, allocations: 132.7 kB / 351.7 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.333e-05/0.4456, allocations: 7.938 kB / 351.7 MB, free: 0.8711 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006799/0.4463, allocations: 52.02 kB / 351.8 MB, free: 0.8203 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.4464, allocations: 31.95 kB / 351.8 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.377e-05/0.4465, allocations: 7.984 kB / 351.8 MB, free: 0.7812 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000237/0.4467, allocations: 165.4 kB / 352 MB, free: 0.6172 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.4467, allocations: 7.938 kB / 352 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006283/0.4474, allocations: 91.83 kB / 352.1 MB, free: 0.5195 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/0.4488, allocations: 1.135 MB / 353.2 MB, free: 15.35 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004001/0.4528, allocations: 494.8 kB / 353.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.4528, allocations: 7.875 kB / 353.7 MB, free: 14.85 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003634/0.4565, allocations: 343.9 kB / 354 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004367/0.4569, allocations: 28.42 kB / 354 MB, free: 14.48 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.4592, allocations: 497.3 kB / 354.5 MB, free: 13.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/0.4596, allocations: 0.7597 MB / 355.3 MB, free: 13.17 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002386/0.4599, allocations: 22.08 kB / 355.3 MB, free: 13.14 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000201/0.4601, allocations: 79.41 kB / 355.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4601, allocations: 0 / 355.4 MB, free: 13.07 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03059/0.4907, allocations: 5.498 MB / 360.9 MB, free: 7.637 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/0.4911, allocations: 212 kB / 361.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/3.153, allocations: 0 / 361.1 MB, free: 7.391 MB / 314.7 MB