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.009/2.009, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.967e-05/3.977e-05, allocations: 11.98 kB / 255.5 MB, free: 2.637 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09309/0.09317, allocations: 44.51 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5045/0.5978, allocations: 74.77 MB / 374.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003241/0.5982, allocations: 68.16 kB / 374.8 MB, free: 12.8 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03086/0.629, allocations: 4.581 MB / 379.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.6291, allocations: 0 / 379.4 MB, free: 12.16 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.422e-05/0.6291, allocations: 4.906 kB / 379.4 MB, free: 12.16 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.002318/0.6315, allocations: 0.6106 MB / 380 MB, free: 11.71 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.6315, allocations: 10.16 kB / 380 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.12e-05/0.6316, allocations: 54.64 kB / 380.1 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.324e-05/0.6317, allocations: 31.75 kB / 380.1 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.6321, allocations: 263 kB / 380.3 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.6322, allocations: 15.5 kB / 380.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.283e-05/0.6322, allocations: 20.09 kB / 380.4 MB, free: 11.42 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006174/0.6329, allocations: 240.4 kB / 380.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.6329, allocations: 0 / 380.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.633, allocations: 9.438 kB / 380.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.633, allocations: 4.344 kB / 380.6 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005386/0.6335, allocations: 181.9 kB / 380.8 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002787/0.6363, allocations: 1.024 MB / 381.8 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004816/0.6412, allocations: 491 kB / 382.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004888/0.6417, allocations: 157.5 kB / 382.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.24e-05/0.6417, allocations: 5.938 kB / 382.5 MB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004136/0.6422, allocations: 172.6 kB / 382.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.614e-06/0.6422, allocations: 0 / 382.6 MB, free: 10.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006619/0.6428, allocations: 213.2 kB / 382.8 MB, free: 10.7 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.635e-05/0.6429, allocations: 115.6 kB / 383 MB, free: 10.57 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002749/0.6432, allocations: 201.9 kB / 383.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.909e-05/0.6432, allocations: 31.58 kB / 383.2 MB, free: 10.44 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.6434, allocations: 159.2 kB / 383.3 MB, free: 10.33 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.306e-05/0.6434, allocations: 67.69 kB / 383.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.798e-05/0.6435, allocations: 7.25 kB / 383.4 MB, free: 10.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.331e-05/0.6436, allocations: 332.7 kB / 383.7 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.6438, allocations: 77.22 kB / 383.8 MB, free: 9.973 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.6441, allocations: 128 kB / 383.9 MB, free: 9.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002505/0.6444, allocations: 105.9 kB / 384 MB, free: 9.891 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.6444, allocations: 1.375 kB / 384 MB, free: 9.891 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006723/0.6451, allocations: 283.3 kB / 384.3 MB, free: 9.805 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.6451, allocations: 37.53 kB / 384.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.6451, allocations: 1.375 kB / 384.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/0.6452, allocations: 5.469 kB / 384.4 MB, free: 9.77 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004205/0.6494, allocations: 330.1 kB / 384.7 MB, free: 9.754 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005978/0.6554, allocations: 3.056 MB / 387.7 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007578/0.6562, allocations: 64.41 kB / 387.8 MB, free: 6.988 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.12e-05/0.6562, allocations: 9.219 kB / 387.8 MB, free: 6.988 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.0001279/0.6564, allocations: 125.2 kB / 387.9 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.6564, allocations: 23.12 kB / 388 MB, free: 6.859 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.859e-05/0.6565, allocations: 30.02 kB / 388 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.6565, allocations: 2.625 kB / 388 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.6566, allocations: 0 / 388 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.514e-06/0.6566, allocations: 3.953 kB / 388 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001726/0.6583, allocations: 0.7924 MB / 388.8 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.6583, allocations: 5.5 kB / 388.8 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004159/0.6625, allocations: 321 kB / 389.1 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/0.6625, allocations: 1.344 kB / 389.1 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.603e-05/0.6626, allocations: 5 kB / 389.1 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006753/0.6693, allocations: 3.062 MB / 392.2 MB, free: 19.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.6694, allocations: 0 / 392.2 MB, free: 19.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009835/0.6704, allocations: 454.5 kB / 392.6 MB, free: 19.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.6705, allocations: 109.6 kB / 392.7 MB, free: 19.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.313e-05/0.6706, allocations: 9.406 kB / 392.7 MB, free: 19.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/0.6713, allocations: 54.55 kB / 392.8 MB, free: 19.34 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.6714, allocations: 28.48 kB / 392.8 MB, free: 19.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.6715, allocations: 3.875 kB / 392.8 MB, free: 19.34 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002156/0.6717, allocations: 171.3 kB / 393 MB, free: 19.26 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6717, allocations: 0 / 393 MB, free: 19.26 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006248/0.6723, allocations: 88.73 kB / 393.1 MB, free: 19.24 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.00138/0.6737, allocations: 1.134 MB / 394.2 MB, free: 18.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003812/0.6776, allocations: 487.9 kB / 394.7 MB, free: 18.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.6776, allocations: 0 / 394.7 MB, free: 18.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003475/0.6811, allocations: 347 kB / 395 MB, free: 18.29 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.6815, allocations: 40.86 kB / 395.1 MB, free: 18.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.6837, allocations: 0.4921 MB / 395.6 MB, free: 18.03 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003963/0.6841, allocations: 0.7566 MB / 396.3 MB, free: 17.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.6844, allocations: 25.05 kB / 396.3 MB, free: 17.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001827/0.6846, allocations: 83.02 kB / 396.4 MB, free: 17.31 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6846, allocations: 0 / 396.4 MB, free: 17.31 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.714, allocations: 5.506 MB / 401.9 MB, free: 16.75 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/0.7143, allocations: 192.7 kB / 402.1 MB, free: 16.52 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/3.6, allocations: 0 / 402.1 MB, free: 16.52 MB / 330.7 MB