Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.741/1.741, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.832e-05/3.843e-05, allocations: 0 / 225.1 MB, free: 2.707 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2781/0.2782, allocations: 38.77 MB / 263.8 MB, free: 9.859 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1451/0.4233, allocations: 69.77 MB / 333.6 MB, free: 3.992 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.4237, allocations: 71.97 kB / 333.7 MB, free: 3.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02365/0.4474, allocations: 4.642 MB / 338.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.4474, allocations: 0 / 338.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.312e-05/0.4474, allocations: 8 kB / 338.3 MB, free: 15.25 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.001898/0.4494, allocations: 0.6098 MB / 338.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.4494, allocations: 8.031 kB / 339 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.727e-05/0.4495, allocations: 50.55 kB / 339 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001015/0.4496, allocations: 35.62 kB / 339 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.4501, allocations: 259.7 kB / 339.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.334e-05/0.4501, allocations: 20.39 kB / 339.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.765e-05/0.4502, allocations: 20 kB / 339.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006507/0.4509, allocations: 240.9 kB / 339.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.4509, allocations: 0 / 339.6 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.01e-05/0.451, allocations: 15.98 kB / 339.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.958e-06/0.451, allocations: 4 kB / 339.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005484/0.4515, allocations: 168.8 kB / 339.7 MB, free: 13.72 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003089/0.4546, allocations: 1.023 MB / 340.8 MB, free: 12.63 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005022/0.4597, allocations: 486.3 kB / 341.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006133/0.4604, allocations: 156.8 kB / 341.4 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.4604, allocations: 8 kB / 341.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004573/0.4609, allocations: 175.5 kB / 341.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.806e-06/0.4609, allocations: 0 / 341.6 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007165/0.4617, allocations: 210.9 kB / 341.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.002e-05/0.4617, allocations: 110.8 kB / 341.9 MB, free: 11.45 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003327/0.4621, allocations: 213.1 kB / 342.1 MB, free: 11.23 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.342e-05/0.4622, allocations: 33.7 kB / 342.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.4623, allocations: 210.6 kB / 342.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.394e-05/0.4624, allocations: 67 kB / 342.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.928e-05/0.4625, allocations: 4 kB / 342.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.4626, allocations: 322.8 kB / 342.7 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.4629, allocations: 76.47 kB / 342.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002995/0.4632, allocations: 112.1 kB / 342.9 MB, free: 10.39 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.4635, allocations: 105.7 kB / 343 MB, free: 10.28 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.091e-06/0.4635, allocations: 0 / 343 MB, free: 10.28 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007646/0.4643, allocations: 263.1 kB / 343.3 MB, free: 10.01 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.76e-05/0.4644, allocations: 37.62 kB / 343.3 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.048e-05/0.4644, allocations: 4 kB / 343.3 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.4644, allocations: 0 / 343.3 MB, free: 9.961 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004415/0.4689, allocations: 335.7 kB / 343.6 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007029/0.4759, allocations: 3.06 MB / 346.7 MB, free: 6.316 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007816/0.4768, allocations: 63.83 kB / 346.8 MB, free: 6.254 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.58e-05/0.4768, allocations: 12 kB / 346.8 MB, free: 6.242 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.000175/0.477, allocations: 132.1 kB / 346.9 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.665e-05/0.4771, allocations: 27.67 kB / 346.9 MB, free: 6.082 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.542e-05/0.4772, allocations: 21.97 kB / 346.9 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.4772, allocations: 7.984 kB / 347 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.4772, allocations: 0 / 347 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4773, allocations: 0 / 347 MB, free: 6.051 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00197/0.4792, allocations: 0.7998 MB / 347.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4793, allocations: 0 / 347.8 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004341/0.4836, allocations: 327.7 kB / 348.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.729e-06/0.4837, allocations: 0 / 348.1 MB, free: 4.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.859e-05/0.4837, allocations: 11.98 kB / 348.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006972/0.4907, allocations: 3.045 MB / 351.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4908, allocations: 0 / 351.1 MB, free: 1.551 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.4919, allocations: 453.3 kB / 351.6 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.4921, allocations: 132.9 kB / 351.7 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.428e-05/0.4921, allocations: 11.94 kB / 351.7 MB, free: 0.918 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007079/0.4929, allocations: 55.95 kB / 351.8 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.493, allocations: 31.95 kB / 351.8 MB, free: 0.832 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.404e-05/0.4931, allocations: 8 kB / 351.8 MB, free: 0.8242 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002501/0.4933, allocations: 165.4 kB / 352 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.465e-06/0.4933, allocations: 0 / 352 MB, free: 0.6602 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006872/0.494, allocations: 91.78 kB / 352.1 MB, free: 0.5703 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.001483/0.4955, allocations: 1.132 MB / 353.2 MB, free: 15.4 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004112/0.4997, allocations: 487.3 kB / 353.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4997, allocations: 0 / 353.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003683/0.5034, allocations: 343.8 kB / 354 MB, free: 14.57 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005249/0.504, allocations: 36.41 kB / 354 MB, free: 14.54 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.5064, allocations: 0.5069 MB / 354.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004038/0.5068, allocations: 0.7597 MB / 355.3 MB, free: 13.2 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002337/0.5071, allocations: 79.41 kB / 355.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5071, allocations: 0 / 355.4 MB, free: 13.12 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.614/3.121, allocations: 6.211 MB / 361.6 MB, free: 6.918 MB / 314.7 MB