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.649/1.649, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.647e-05/2.652e-05, allocations: 0 / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2497/0.2497, allocations: 38.78 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.3918, allocations: 69.76 MB / 333.6 MB, free: 3.84 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003145/0.3922, allocations: 67.97 kB / 333.7 MB, free: 3.773 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02434/0.4165, allocations: 4.655 MB / 338.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4166, allocations: 0 / 338.4 MB, free: 15.1 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.4166, allocations: 4 kB / 338.4 MB, free: 15.1 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.001948/0.4186, allocations: 0.6137 MB / 339 MB, free: 14.43 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/0.4186, allocations: 8.031 kB / 339 MB, free: 14.42 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.164e-05/0.4187, allocations: 54.55 kB / 339 MB, free: 14.36 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.4189, allocations: 31.62 kB / 339.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.4193, allocations: 251.7 kB / 339.3 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.4193, allocations: 24.39 kB / 339.3 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.962e-05/0.4194, allocations: 16 kB / 339.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.4201, allocations: 240.9 kB / 339.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.4201, allocations: 0 / 339.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.4202, allocations: 12 kB / 339.6 MB, free: 13.74 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.508e-06/0.4202, allocations: 4 kB / 339.6 MB, free: 13.73 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005583/0.4208, allocations: 168.9 kB / 339.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003144/0.4239, allocations: 1.031 MB / 340.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005079/0.429, allocations: 482.3 kB / 341.3 MB, free: 11.99 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/0.4296, allocations: 152.8 kB / 341.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.155e-05/0.4297, allocations: 4 kB / 341.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004669/0.4301, allocations: 183.2 kB / 341.6 MB, free: 11.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.424e-06/0.4302, allocations: 3.938 kB / 341.6 MB, free: 11.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007563/0.4309, allocations: 206.5 kB / 341.8 MB, free: 11.43 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.4311, allocations: 110.8 kB / 341.9 MB, free: 11.29 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003737/0.4314, allocations: 213.1 kB / 342.1 MB, free: 11.08 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.976e-05/0.4315, allocations: 33.7 kB / 342.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001417/0.4317, allocations: 152.2 kB / 342.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001004/0.4318, allocations: 74.98 kB / 342.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.016e-05/0.4318, allocations: 4 kB / 342.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.432, allocations: 334.8 kB / 342.7 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002711/0.4323, allocations: 80.47 kB / 342.8 MB, free: 10.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/0.4326, allocations: 108.1 kB / 342.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000299/0.4329, allocations: 105.7 kB / 343 MB, free: 10.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.75e-06/0.4329, allocations: 0 / 343 MB, free: 10.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007701/0.4337, allocations: 282.9 kB / 343.3 MB, free: 9.871 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.4337, allocations: 33.64 kB / 343.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.4338, allocations: 0 / 343.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.4338, allocations: 4 kB / 343.3 MB, free: 9.828 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00446/0.4383, allocations: 339.7 kB / 343.6 MB, free: 9.496 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007054/0.4453, allocations: 3.049 MB / 346.7 MB, free: 6.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007859/0.4462, allocations: 63.8 kB / 346.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.897e-05/0.4462, allocations: 19.98 kB / 346.8 MB, free: 6.109 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.0001794/0.4464, allocations: 121.4 kB / 346.9 MB, free: 5.984 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.236e-05/0.4465, allocations: 27.67 kB / 346.9 MB, free: 5.957 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.916e-05/0.4466, allocations: 25.95 kB / 346.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.4466, allocations: 4 kB / 347 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.4466, allocations: 0 / 347 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.4467, allocations: 0 / 347 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.4486, allocations: 0.7951 MB / 347.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.4487, allocations: 0 / 347.7 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004421/0.4531, allocations: 327.7 kB / 348.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/0.4531, allocations: 0 / 348.1 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/0.4532, allocations: 11.98 kB / 348.1 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006873/0.4601, allocations: 3.052 MB / 351.1 MB, free: 1.426 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/0.4601, allocations: 4.031 kB / 351.1 MB, free: 1.422 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.4612, allocations: 454.8 kB / 351.6 MB, free: 0.9453 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.4614, allocations: 128.9 kB / 351.7 MB, free: 0.8008 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.481e-05/0.4615, allocations: 12 kB / 351.7 MB, free: 0.7891 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007093/0.4622, allocations: 51.95 kB / 351.8 MB, free: 0.7383 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.4623, allocations: 31.95 kB / 351.8 MB, free: 0.707 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.962e-05/0.4624, allocations: 11.98 kB / 351.8 MB, free: 0.6953 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000248/0.4627, allocations: 161.4 kB / 352 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.394e-06/0.4627, allocations: 0 / 352 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006885/0.4634, allocations: 99.7 kB / 352.1 MB, free: 448 kB / 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.001476/0.4649, allocations: 1.132 MB / 353.2 MB, free: 15.27 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004241/0.4691, allocations: 491.3 kB / 353.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.4692, allocations: 0 / 353.7 MB, free: 14.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0038/0.473, allocations: 347.8 kB / 354 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005106/0.4735, allocations: 28.42 kB / 354 MB, free: 14.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002431/0.4759, allocations: 492.1 kB / 354.5 MB, free: 13.89 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004071/0.4764, allocations: 0.7635 MB / 355.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002275/0.4766, allocations: 22.08 kB / 355.3 MB, free: 13.07 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002051/0.4768, allocations: 79.41 kB / 355.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.4768, allocations: 4 kB / 355.4 MB, free: 12.99 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.5105, allocations: 5.49 MB / 360.9 MB, free: 7.566 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002689/0.5108, allocations: 186.9 kB / 361.1 MB, free: 7.344 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.543/3.053, allocations: 4 kB / 361.1 MB, free: 7.34 MB / 314.7 MB