Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.879/1.879, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.919e-05/2.944e-05, allocations: 4 kB / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2629/0.263, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1234/0.3864, allocations: 69.1 MB / 327.4 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002589/0.3867, allocations: 67.97 kB / 327.5 MB, free: 8.617 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02417/0.4109, allocations: 4.604 MB / 332.1 MB, free: 4 MB / 282.7 MB Notification: Performance of FrontEnd: time 3.647e-06/0.411, allocations: 7.984 kB / 332.1 MB, free: 3.992 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.942e-05/0.411, allocations: 4 kB / 332.1 MB, free: 3.988 MB / 282.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.001918/0.4129, allocations: 0.6098 MB / 332.7 MB, free: 3.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.76e-05/0.413, allocations: 8.031 kB / 332.7 MB, free: 3.312 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001011/0.4131, allocations: 31.62 kB / 332.8 MB, free: 3.281 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004338/0.4136, allocations: 255.7 kB / 333 MB, free: 2.988 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.4136, allocations: 8 kB / 333 MB, free: 2.98 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/0.4137, allocations: 15.95 kB / 333 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005507/0.4142, allocations: 168.8 kB / 333.2 MB, free: 2.801 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005675/0.4148, allocations: 217 kB / 333.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.4148, allocations: 0 / 333.4 MB, free: 2.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/0.4149, allocations: 4 kB / 333.4 MB, free: 2.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.4149, allocations: 4 kB / 333.4 MB, free: 2.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002933/0.4179, allocations: 0.9759 MB / 334.4 MB, free: 1.535 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004816/0.4227, allocations: 470.3 kB / 334.9 MB, free: 1.066 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004882/0.4232, allocations: 144.8 kB / 335 MB, free: 0.9219 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.323e-05/0.4233, allocations: 4 kB / 335 MB, free: 0.918 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004289/0.4237, allocations: 173.9 kB / 335.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.675e-06/0.4237, allocations: 0 / 335.2 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006349/0.4244, allocations: 197.6 kB / 335.4 MB, free: 0.5273 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/0.4245, allocations: 110.8 kB / 335.5 MB, free: 404 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002772/0.4248, allocations: 192.5 kB / 335.7 MB, free: 208 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.485e-05/0.4248, allocations: 29.7 kB / 335.7 MB, free: 172 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.425, allocations: 156.4 kB / 335.8 MB, free: 12 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.4251, allocations: 71.02 kB / 335.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.4251, allocations: 0 / 335.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001557/0.4253, allocations: 342.8 kB / 336.2 MB, free: 15.59 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.4255, allocations: 68.47 kB / 336.3 MB, free: 15.52 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002694/0.4258, allocations: 108.1 kB / 336.4 MB, free: 15.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002344/0.4261, allocations: 83.88 kB / 336.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.4261, allocations: 0 / 336.5 MB, free: 15.32 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007022/0.4268, allocations: 237.2 kB / 336.7 MB, free: 15.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.817e-05/0.4269, allocations: 37.3 kB / 336.8 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.4269, allocations: 7.922 kB / 336.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4269, allocations: 0 / 336.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004257/0.4312, allocations: 335.7 kB / 337.1 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006629/0.4378, allocations: 2.965 MB / 340.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007702/0.4386, allocations: 63.86 kB / 340.1 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.05e-05/0.4387, allocations: 4 kB / 340.1 MB, free: 11.46 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.0001636/0.4389, allocations: 115.8 kB / 340.3 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005495/0.4394, allocations: 205.4 kB / 340.5 MB, free: 11.13 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.4395, allocations: 23.72 kB / 340.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.33e-05/0.4396, allocations: 25.95 kB / 340.5 MB, free: 11.09 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.4396, allocations: 4 kB / 340.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.354e-06/0.4396, allocations: 0 / 340.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.4397, allocations: 3.953 kB / 340.5 MB, free: 11.08 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001788/0.4415, allocations: 0.7339 MB / 341.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4415, allocations: 0 / 341.2 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004198/0.4457, allocations: 331.7 kB / 341.6 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.4457, allocations: 0 / 341.6 MB, free: 9.969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.4458, allocations: 4 kB / 341.6 MB, free: 9.965 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006556/0.4523, allocations: 2.957 MB / 344.5 MB, free: 6.785 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4524, allocations: 4.219 kB / 344.5 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009478/0.4533, allocations: 442 kB / 345 MB, free: 6.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001935/0.4535, allocations: 124.8 kB / 345.1 MB, free: 6.18 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.4536, allocations: 4 kB / 345.1 MB, free: 6.176 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006803/0.4543, allocations: 52.02 kB / 345.1 MB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001174/0.4544, allocations: 31.89 kB / 345.2 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.33e-05/0.4545, allocations: 12 kB / 345.2 MB, free: 6.082 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002054/0.4547, allocations: 156.5 kB / 345.3 MB, free: 5.934 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.424e-06/0.4547, allocations: 0 / 345.3 MB, free: 5.934 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007032/0.4554, allocations: 83.73 kB / 345.4 MB, free: 5.852 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.001341/0.4568, allocations: 1.12 MB / 346.5 MB, free: 4.688 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00394/0.4607, allocations: 475.1 kB / 347 MB, free: 4.211 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/0.4608, allocations: 4 kB / 347 MB, free: 4.207 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003638/0.4644, allocations: 331.9 kB / 347.3 MB, free: 3.883 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004605/0.4649, allocations: 35.73 kB / 347.4 MB, free: 3.852 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.4673, allocations: 482.7 kB / 347.8 MB, free: 3.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.4677, allocations: 0.7594 MB / 348.6 MB, free: 2.555 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.000227/0.4679, allocations: 22.06 kB / 348.6 MB, free: 2.535 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.4681, allocations: 79.41 kB / 348.7 MB, free: 2.457 MB / 298.7 MB Notification: Performance of SimCode: time 7.92e-07/0.4682, allocations: 0 / 348.7 MB, free: 2.457 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04553/0.5137, allocations: 4.778 MB / 353.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002875/0.5141, allocations: 147.5 kB / 353.6 MB, free: 13.5 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.51/3.024, allocations: 4 kB / 353.6 MB, free: 13.5 MB / 314.7 MB