Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.024/2.024, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.46e-05/2.476e-05, allocations: 4 kB / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3156/0.3157, allocations: 44.49 MB / 294.2 MB, free: 14.21 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.4504, allocations: 74.12 MB / 368.3 MB, free: 7.777 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002621/0.4508, allocations: 67.95 kB / 368.4 MB, free: 7.711 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02274/0.4735, allocations: 4.548 MB / 372.9 MB, free: 3.145 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4736, allocations: 0 / 372.9 MB, free: 3.145 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.4736, allocations: 8 kB / 372.9 MB, free: 3.137 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.001885/0.4755, allocations: 0.6059 MB / 373.5 MB, free: 2.48 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/0.4756, allocations: 12.03 kB / 373.6 MB, free: 2.469 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.4757, allocations: 27.72 kB / 373.6 MB, free: 2.441 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.4761, allocations: 263.4 kB / 373.8 MB, free: 2.141 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.4762, allocations: 8 kB / 373.8 MB, free: 2.133 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.2e-05/0.4763, allocations: 12 kB / 373.9 MB, free: 2.121 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005261/0.4768, allocations: 160.9 kB / 374 MB, free: 1.965 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005704/0.4774, allocations: 217 kB / 374.2 MB, free: 1.738 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.606e-05/0.4774, allocations: 3.938 kB / 374.2 MB, free: 1.734 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.038e-05/0.4775, allocations: 4 kB / 374.2 MB, free: 1.73 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.4775, allocations: 8 kB / 374.2 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003005/0.4805, allocations: 0.9658 MB / 375.2 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004785/0.4853, allocations: 474.3 kB / 375.7 MB, free: 236 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004799/0.4858, allocations: 149.2 kB / 375.8 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.4859, allocations: 7.953 kB / 375.8 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004386/0.4863, allocations: 175.1 kB / 376 MB, free: 15.88 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.365e-06/0.4864, allocations: 0 / 376 MB, free: 15.88 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006347/0.487, allocations: 204.6 kB / 376.2 MB, free: 15.68 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.363e-05/0.4871, allocations: 110.8 kB / 376.3 MB, free: 15.54 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002834/0.4874, allocations: 188 kB / 376.5 MB, free: 15.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.334e-05/0.4875, allocations: 29.69 kB / 376.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.4876, allocations: 218.7 kB / 376.7 MB, free: 15.11 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.003e-05/0.4877, allocations: 63.09 kB / 376.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.654e-05/0.4878, allocations: 0 / 376.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001406/0.4879, allocations: 318.8 kB / 377.1 MB, free: 14.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002303/0.4882, allocations: 80.39 kB / 377.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/0.4884, allocations: 108.1 kB / 377.3 MB, free: 14.52 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.4887, allocations: 71.92 kB / 377.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/0.4887, allocations: 0 / 377.4 MB, free: 14.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006457/0.4893, allocations: 233.3 kB / 377.6 MB, free: 14.22 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.516e-05/0.4894, allocations: 33.7 kB / 377.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.4894, allocations: 0 / 377.6 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.4894, allocations: 12.05 kB / 377.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004234/0.4937, allocations: 331.6 kB / 377.9 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006707/0.5004, allocations: 2.962 MB / 380.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007551/0.5012, allocations: 55.92 kB / 381 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.503e-05/0.5013, allocations: 16 kB / 381 MB, free: 10.59 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.0001574/0.5015, allocations: 108.8 kB / 381.1 MB, free: 10.47 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005611/0.502, allocations: 209.2 kB / 381.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.013e-05/0.5021, allocations: 23.67 kB / 381.3 MB, free: 10.24 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.986e-05/0.5022, allocations: 29.91 kB / 381.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.5022, allocations: 0 / 381.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5022, allocations: 4 kB / 381.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.715e-06/0.5022, allocations: 3.984 kB / 381.4 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001834/0.5041, allocations: 0.7327 MB / 382.1 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.255e-06/0.5041, allocations: 7.891 kB / 382.1 MB, free: 9.414 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004209/0.5083, allocations: 327.7 kB / 382.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.5084, allocations: 0 / 382.4 MB, free: 9.094 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.5084, allocations: 4 kB / 382.4 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006598/0.515, allocations: 2.957 MB / 385.4 MB, free: 5.906 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.934e-06/0.5151, allocations: 3.984 kB / 385.4 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000985/0.5161, allocations: 443 kB / 385.8 MB, free: 5.438 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.5162, allocations: 96.86 kB / 385.9 MB, free: 5.324 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.485e-05/0.5163, allocations: 4 kB / 385.9 MB, free: 5.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007057/0.517, allocations: 56 kB / 386 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001353/0.5172, allocations: 27.92 kB / 386 MB, free: 5.238 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.452e-05/0.5172, allocations: 7.984 kB / 386 MB, free: 5.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002363/0.5175, allocations: 156.5 kB / 386.2 MB, free: 5.078 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5175, allocations: 0 / 386.2 MB, free: 5.078 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007022/0.5182, allocations: 79.84 kB / 386.2 MB, free: 5 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.001463/0.5197, allocations: 1.121 MB / 387.4 MB, free: 3.84 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004089/0.5238, allocations: 471.1 kB / 387.8 MB, free: 3.367 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/0.5239, allocations: 4 kB / 387.8 MB, free: 3.363 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003605/0.5275, allocations: 335.9 kB / 388.1 MB, free: 3.035 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005025/0.528, allocations: 28.38 kB / 388.2 MB, free: 3.004 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.5304, allocations: 0.5015 MB / 388.7 MB, free: 2.449 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/0.5308, allocations: 0.7516 MB / 389.4 MB, free: 1.672 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002641/0.5311, allocations: 87.41 kB / 389.5 MB, free: 1.59 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5311, allocations: 0 / 389.5 MB, free: 1.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.756/3.287, allocations: 6.151 MB / 395.7 MB, free: 11.45 MB / 346.7 MB