Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 205.8 MB / 218.9 MB, free: 9.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.912e-05/3.919e-05, allocations: 4 kB / 269.4 MB, free: 6.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09972/0.09979, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4209/0.5207, allocations: 79.2 MB / 396.2 MB, free: 8.465 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.5211, allocations: 65.47 kB / 396.3 MB, free: 8.434 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02448/0.5456, allocations: 4.733 MB / 401 MB, free: 4.332 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.5457, allocations: 0 / 401 MB, free: 4.332 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.5457, allocations: 4 kB / 401 MB, free: 4.328 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.00202/0.5478, allocations: 0.6031 MB / 401.6 MB, free: 3.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.75e-05/0.5478, allocations: 12.02 kB / 401.6 MB, free: 3.68 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001251/0.548, allocations: 52.8 kB / 401.7 MB, free: 3.629 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001298/0.5481, allocations: 35.56 kB / 401.7 MB, free: 3.594 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004618/0.5486, allocations: 267.2 kB / 402 MB, free: 3.312 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.472e-05/0.5487, allocations: 15.5 kB / 402 MB, free: 3.305 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.325e-05/0.5487, allocations: 22.47 kB / 402 MB, free: 3.289 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.5495, allocations: 239.5 kB / 402.3 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.5495, allocations: 0 / 402.3 MB, free: 3.109 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.5496, allocations: 10.58 kB / 402.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.106e-05/0.5496, allocations: 4 kB / 402.3 MB, free: 3.102 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000567/0.5502, allocations: 172.2 kB / 402.4 MB, free: 3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003273/0.5535, allocations: 1.003 MB / 403.4 MB, free: 2.117 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005098/0.5586, allocations: 493.8 kB / 403.9 MB, free: 1.707 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006294/0.5593, allocations: 153.3 kB / 404.1 MB, free: 1.602 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.374e-05/0.5594, allocations: 4 kB / 404.1 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004754/0.5599, allocations: 173.7 kB / 404.3 MB, free: 1.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.665e-06/0.5599, allocations: 0 / 404.3 MB, free: 1.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007127/0.5606, allocations: 217.3 kB / 404.5 MB, free: 1.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.919e-05/0.5607, allocations: 114.8 kB / 404.6 MB, free: 1.145 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.5611, allocations: 207 kB / 404.8 MB, free: 0.9688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.83e-05/0.5611, allocations: 29.58 kB / 404.8 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001367/0.5613, allocations: 158.9 kB / 405 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.5614, allocations: 74.75 kB / 405 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.5614, allocations: 3.75 kB / 405 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5616, allocations: 330.6 kB / 405.4 MB, free: 432 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.5618, allocations: 82.83 kB / 405.4 MB, free: 380 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002933/0.5621, allocations: 114.8 kB / 405.6 MB, free: 288 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003178/0.5625, allocations: 111.6 kB / 405.7 MB, free: 204 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.5625, allocations: 4 kB / 405.7 MB, free: 200 kB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008008/0.5633, allocations: 276.2 kB / 405.9 MB, free: 15.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.821e-05/0.5634, allocations: 33.7 kB / 406 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.5634, allocations: 7.969 kB / 406 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.264e-05/0.5634, allocations: 4 kB / 406 MB, free: 15.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004466/0.5679, allocations: 335.5 kB / 406.3 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007193/0.5752, allocations: 3.048 MB / 409.4 MB, free: 12.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008715/0.5761, allocations: 63.61 kB / 409.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.5762, allocations: 11.69 kB / 409.4 MB, free: 12.33 MB / 330.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.000188/0.5764, allocations: 120.9 kB / 409.6 MB, free: 12.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.5765, allocations: 31.66 kB / 409.6 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.5766, allocations: 29.66 kB / 409.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.433e-06/0.5767, allocations: 0 / 409.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5767, allocations: 0 / 409.6 MB, free: 12.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.5767, allocations: 7.984 kB / 409.6 MB, free: 12.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002166/0.5789, allocations: 0.7902 MB / 410.4 MB, free: 11.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.5789, allocations: 15.98 kB / 410.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004398/0.5834, allocations: 319.6 kB / 410.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.008e-05/0.5834, allocations: 0 / 410.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.908e-05/0.5835, allocations: 6.875 kB / 410.7 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006932/0.5904, allocations: 3.046 MB / 413.8 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.5905, allocations: 0 / 413.8 MB, free: 7.918 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.5916, allocations: 464.4 kB / 414.2 MB, free: 7.543 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5917, allocations: 104 kB / 414.3 MB, free: 7.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.024e-05/0.5918, allocations: 11.42 kB / 414.4 MB, free: 7.418 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007058/0.5925, allocations: 52.02 kB / 414.4 MB, free: 7.367 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000131/0.5926, allocations: 26.7 kB / 414.4 MB, free: 7.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.5927, allocations: 8 kB / 414.4 MB, free: 7.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002385/0.5929, allocations: 166.7 kB / 414.6 MB, free: 7.203 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.593, allocations: 0 / 414.6 MB, free: 7.203 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007006/0.5937, allocations: 86.84 kB / 414.7 MB, free: 7.125 MB / 330.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.001479/0.5952, allocations: 1.143 MB / 415.8 MB, free: 6.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004215/0.5994, allocations: 493 kB / 416.3 MB, free: 5.625 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.5995, allocations: 0 / 416.3 MB, free: 5.625 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003806/0.6033, allocations: 344.7 kB / 416.6 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005327/0.6039, allocations: 35.42 kB / 416.7 MB, free: 5.301 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.6066, allocations: 0.5225 MB / 417.2 MB, free: 4.781 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004286/0.607, allocations: 0.7635 MB / 418 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002559/0.6073, allocations: 22.08 kB / 418 MB, free: 3.969 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001986/0.6075, allocations: 79.34 kB / 418.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of SimCode: time 1.252e-06/0.6075, allocations: 0 / 418.1 MB, free: 3.945 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03125/0.6388, allocations: 5.508 MB / 423.6 MB, free: 14.52 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003369/0.6392, allocations: 195.4 kB / 423.8 MB, free: 14.29 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.728/3.367, allocations: 0 / 423.8 MB, free: 14.29 MB / 346.7 MB