Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.132/2.132, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.348e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1167, allocations: 44.49 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.501/0.6178, allocations: 74.79 MB / 374.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003101/0.6182, allocations: 68.8 kB / 374.8 MB, free: 12.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03258/0.6508, allocations: 4.587 MB / 379.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.414e-06/0.6509, allocations: 1 kB / 379.4 MB, free: 11.79 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.052e-05/0.6509, allocations: 4.594 kB / 379.4 MB, free: 11.79 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.002633/0.6536, allocations: 0.6071 MB / 380 MB, free: 11.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.861e-05/0.6536, allocations: 11.17 kB / 380 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001418/0.6538, allocations: 55.48 kB / 380.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001619/0.654, allocations: 27.47 kB / 380.1 MB, free: 11.28 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005766/0.6546, allocations: 259.2 kB / 380.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.614e-05/0.6546, allocations: 16.22 kB / 380.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.6548, allocations: 20.78 kB / 380.4 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008936/0.6557, allocations: 242.8 kB / 380.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.6557, allocations: 4 kB / 380.6 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.247e-05/0.6558, allocations: 5.969 kB / 380.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.6558, allocations: 5.188 kB / 380.7 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007777/0.6566, allocations: 172.1 kB / 380.8 MB, free: 10.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004324/0.661, allocations: 1.025 MB / 381.9 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006972/0.668, allocations: 488.6 kB / 382.3 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008593/0.6689, allocations: 159 kB / 382.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.949e-05/0.669, allocations: 4.172 kB / 382.5 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006679/0.6697, allocations: 176.6 kB / 382.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 4.158e-06/0.6697, allocations: 1.281 kB / 382.7 MB, free: 10.37 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.001085/0.6708, allocations: 213.7 kB / 382.9 MB, free: 10.32 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.765e-05/0.671, allocations: 108.3 kB / 383 MB, free: 10.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004754/0.6714, allocations: 204.6 kB / 383.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.6715, allocations: 30.89 kB / 383.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.6717, allocations: 160.2 kB / 383.4 MB, free: 9.961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.6719, allocations: 68.72 kB / 383.4 MB, free: 9.922 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.6719, allocations: 4.438 kB / 383.4 MB, free: 9.922 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.672, allocations: 336.1 kB / 383.8 MB, free: 9.605 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003868/0.6725, allocations: 77.05 kB / 383.8 MB, free: 9.602 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004385/0.6729, allocations: 116.9 kB / 384 MB, free: 9.566 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004184/0.6734, allocations: 103.2 kB / 384.1 MB, free: 9.531 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.6734, allocations: 3.938 kB / 384.1 MB, free: 9.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001114/0.6745, allocations: 287.9 kB / 384.3 MB, free: 9.441 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.792e-05/0.6746, allocations: 35.58 kB / 384.4 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.6746, allocations: 0 / 384.4 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.6747, allocations: 2.75 kB / 384.4 MB, free: 9.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006032/0.6807, allocations: 332 kB / 384.7 MB, free: 9.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008823/0.6896, allocations: 3.05 MB / 387.8 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001142/0.6908, allocations: 64.73 kB / 387.8 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.537e-05/0.6909, allocations: 12.92 kB / 387.8 MB, free: 6.629 MB / 314.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.0004814/0.6914, allocations: 121.1 kB / 387.9 MB, free: 22.52 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.6915, allocations: 23.41 kB / 388 MB, free: 22.5 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.6917, allocations: 31.78 kB / 388 MB, free: 22.49 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.6917, allocations: 7.75 kB / 388 MB, free: 22.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.6917, allocations: 0 / 388 MB, free: 22.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.6917, allocations: 4.188 kB / 388 MB, free: 22.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002763/0.6945, allocations: 0.7881 MB / 388.8 MB, free: 22.07 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.6946, allocations: 1.344 kB / 388.8 MB, free: 22.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006035/0.7006, allocations: 328.2 kB / 389.1 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-05/0.7007, allocations: 5.328 kB / 389.1 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.346e-05/0.7008, allocations: 4.312 kB / 389.1 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0095/0.7103, allocations: 3.05 MB / 392.2 MB, free: 19.3 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/0.7104, allocations: 7.234 kB / 392.2 MB, free: 19.3 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.7118, allocations: 458.6 kB / 392.6 MB, free: 19.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001626/0.712, allocations: 102.2 kB / 392.7 MB, free: 18.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.7121, allocations: 7.531 kB / 392.7 MB, free: 18.98 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009764/0.7131, allocations: 59.03 kB / 392.8 MB, free: 18.98 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/0.7133, allocations: 27.83 kB / 392.8 MB, free: 18.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/0.7134, allocations: 7.562 kB / 392.8 MB, free: 18.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003407/0.7137, allocations: 166.6 kB / 393 MB, free: 18.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.7137, allocations: 4 kB / 393 MB, free: 18.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001121/0.7149, allocations: 87.94 kB / 393.1 MB, free: 18.88 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.001961/0.7168, allocations: 1.134 MB / 394.2 MB, free: 18.02 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005759/0.7226, allocations: 485 kB / 394.7 MB, free: 17.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.7227, allocations: 0 / 394.7 MB, free: 17.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005086/0.7278, allocations: 337.4 kB / 395 MB, free: 17.92 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007624/0.7286, allocations: 37.94 kB / 395.1 MB, free: 17.92 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00343/0.7321, allocations: 0.492 MB / 395.6 MB, free: 17.68 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/0.7327, allocations: 0.7604 MB / 396.3 MB, free: 16.97 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003524/0.733, allocations: 20.8 kB / 396.3 MB, free: 16.96 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.7333, allocations: 80.83 kB / 396.4 MB, free: 16.96 MB / 330.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7333, allocations: 0 / 396.4 MB, free: 16.96 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03369/0.7671, allocations: 5.487 MB / 401.9 MB, free: 16.4 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002024/0.7673, allocations: 203.2 kB / 402.1 MB, free: 16.17 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.92/3.688, allocations: 0 / 402.1 MB, free: 16.17 MB / 330.7 MB