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.053/2.053, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.396e-05/3.416e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3554, allocations: 44.49 MB / 294.2 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1714/0.5269, allocations: 74.13 MB / 368.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003822/0.5274, allocations: 63.97 kB / 368.4 MB, free: 7.664 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03562/0.563, allocations: 4.541 MB / 373 MB, free: 3.105 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.705e-06/0.5631, allocations: 0 / 373 MB, free: 3.105 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.766e-05/0.5631, allocations: 4 kB / 373 MB, free: 3.102 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.002831/0.566, allocations: 0.6098 MB / 373.6 MB, free: 2.441 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.663e-05/0.5661, allocations: 8.031 kB / 373.6 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001672/0.5663, allocations: 27.72 kB / 373.6 MB, free: 2.406 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006735/0.567, allocations: 263.4 kB / 373.9 MB, free: 2.105 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.054e-05/0.567, allocations: 8 kB / 373.9 MB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.5671, allocations: 19.98 kB / 373.9 MB, free: 2.078 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008412/0.568, allocations: 156.9 kB / 374 MB, free: 1.926 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008768/0.5689, allocations: 217 kB / 374.2 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.855e-05/0.569, allocations: 0 / 374.2 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.087e-05/0.569, allocations: 0 / 374.2 MB, free: 1.699 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.5691, allocations: 11.94 kB / 374.3 MB, free: 1.688 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004772/0.5739, allocations: 0.9736 MB / 375.2 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005362/0.5793, allocations: 478.3 kB / 375.7 MB, free: 188 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005498/0.5799, allocations: 141.2 kB / 375.8 MB, free: 44 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.646e-05/0.5799, allocations: 7.953 kB / 375.8 MB, free: 36 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004576/0.5804, allocations: 175.1 kB / 376 MB, free: 15.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=21): time 2.565e-06/0.5804, allocations: 0 / 376 MB, free: 15.84 MB / 330.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006634/0.5811, allocations: 201.3 kB / 376.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.412e-05/0.5812, allocations: 106.8 kB / 376.3 MB, free: 15.51 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002903/0.5815, allocations: 188 kB / 376.5 MB, free: 15.32 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.5815, allocations: 25.7 kB / 376.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001534/0.5817, allocations: 168.3 kB / 376.7 MB, free: 15.12 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.839e-05/0.5818, allocations: 63.14 kB / 376.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.5818, allocations: 0 / 376.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001619/0.582, allocations: 330.8 kB / 377.1 MB, free: 14.73 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002294/0.5823, allocations: 80.41 kB / 377.2 MB, free: 14.64 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002686/0.5825, allocations: 108.1 kB / 377.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002274/0.5828, allocations: 71.92 kB / 377.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.5828, allocations: 4.031 kB / 377.3 MB, free: 14.45 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006764/0.5835, allocations: 245.2 kB / 377.6 MB, free: 14.21 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.863e-05/0.5835, allocations: 33.64 kB / 377.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.5836, allocations: 0 / 377.6 MB, free: 14.17 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5836, allocations: 7.953 kB / 377.6 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004236/0.5878, allocations: 335.7 kB / 377.9 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006803/0.5947, allocations: 2.962 MB / 380.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008095/0.5955, allocations: 59.98 kB / 381 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.887e-05/0.5956, allocations: 12 kB / 381 MB, free: 10.57 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.0001742/0.5958, allocations: 108.8 kB / 381.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005979/0.5964, allocations: 204 kB / 381.3 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/0.5965, allocations: 31.78 kB / 381.3 MB, free: 10.23 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001031/0.5966, allocations: 25.91 kB / 381.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.204e-06/0.5966, allocations: 4 kB / 381.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5966, allocations: 0 / 381.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.077e-06/0.5966, allocations: 3.984 kB / 381.3 MB, free: 10.2 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001929/0.5986, allocations: 0.7339 MB / 382.1 MB, free: 9.41 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.024e-06/0.5986, allocations: 3.953 kB / 382.1 MB, free: 9.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004238/0.6029, allocations: 331.7 kB / 382.4 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.289e-05/0.6029, allocations: 4 kB / 382.4 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.603, allocations: 0 / 382.4 MB, free: 9.078 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00668/0.6097, allocations: 2.957 MB / 385.4 MB, free: 5.895 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.6097, allocations: 8.234 kB / 385.4 MB, free: 5.887 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009777/0.6107, allocations: 446.2 kB / 385.8 MB, free: 5.422 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.504e-05/0.6108, allocations: 92.83 kB / 385.9 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.113e-05/0.6109, allocations: 4 kB / 385.9 MB, free: 5.309 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007038/0.6116, allocations: 56 kB / 386 MB, free: 5.254 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001346/0.6118, allocations: 27.92 kB / 386 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.434e-05/0.6118, allocations: 7.984 kB / 386 MB, free: 5.219 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002128/0.6121, allocations: 160.5 kB / 386.2 MB, free: 5.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6121, allocations: 0 / 386.2 MB, free: 5.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007094/0.6128, allocations: 79.83 kB / 386.2 MB, free: 4.984 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.001361/0.6142, allocations: 1.113 MB / 387.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003953/0.6181, allocations: 479.1 kB / 387.8 MB, free: 3.352 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.596e-06/0.6182, allocations: 0 / 387.8 MB, free: 3.352 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003566/0.6217, allocations: 339.9 kB / 388.1 MB, free: 3.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.6222, allocations: 35.23 kB / 388.2 MB, free: 2.984 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002369/0.6246, allocations: 488.5 kB / 388.7 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.625, allocations: 0.7555 MB / 389.4 MB, free: 1.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002342/0.6253, allocations: 26.06 kB / 389.4 MB, free: 1.656 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002089/0.6255, allocations: 79.41 kB / 389.5 MB, free: 1.582 MB / 330.7 MB Notification: Performance of SimCode: time 9.32e-07/0.6255, allocations: 0 / 389.5 MB, free: 1.582 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04314/0.6687, allocations: 4.768 MB / 394.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003152/0.6691, allocations: 159.9 kB / 394.4 MB, free: 12.63 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/3.373, allocations: 0 / 394.4 MB, free: 12.63 MB / 346.7 MB