Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.215/2.215, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.496e-05/3.501e-05, allocations: 4 kB / 292.7 MB, free: 8.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 50.41 MB / 343.2 MB, free: 5.832 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4628/0.5894, allocations: 81.14 MB / 424.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002581/0.5897, allocations: 70.47 kB / 424.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02515/0.6149, allocations: 4.894 MB / 429.3 MB, free: 8.453 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.265e-06/0.6149, allocations: 3.938 kB / 429.3 MB, free: 8.449 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.615, allocations: 4 kB / 429.3 MB, free: 8.445 MB / 346.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.00202/0.617, allocations: 0.6028 MB / 429.9 MB, free: 7.809 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.955e-05/0.6171, allocations: 8.031 kB / 429.9 MB, free: 7.801 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001079/0.6172, allocations: 60.03 kB / 429.9 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.6173, allocations: 27.72 kB / 430 MB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004382/0.6177, allocations: 259.9 kB / 430.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.611e-05/0.6178, allocations: 22.05 kB / 430.2 MB, free: 7.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.6179, allocations: 19.69 kB / 430.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000644/0.6185, allocations: 242.7 kB / 430.5 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.6186, allocations: 0 / 430.5 MB, free: 7.238 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.34e-05/0.6186, allocations: 10.25 kB / 430.5 MB, free: 7.234 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.6186, allocations: 4 kB / 430.5 MB, free: 7.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005453/0.6192, allocations: 175 kB / 430.7 MB, free: 7.125 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00307/0.6223, allocations: 1.016 MB / 431.7 MB, free: 6.23 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005094/0.6274, allocations: 485.9 kB / 432.2 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005297/0.628, allocations: 150.2 kB / 432.3 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.157e-05/0.628, allocations: 7.984 kB / 432.3 MB, free: 5.719 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004522/0.6285, allocations: 175.7 kB / 432.5 MB, free: 5.562 MB / 346.7 MB Notification: Performance of pre-optimization done (n=21): time 3.657e-06/0.6285, allocations: 0 / 432.5 MB, free: 5.562 MB / 346.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007031/0.6292, allocations: 213.3 kB / 432.7 MB, free: 5.398 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.6293, allocations: 106.8 kB / 432.8 MB, free: 5.27 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003205/0.6296, allocations: 213.9 kB / 433 MB, free: 5.086 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.942e-05/0.6297, allocations: 33.45 kB / 433 MB, free: 5.051 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001414/0.6299, allocations: 159 kB / 433.2 MB, free: 4.922 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/0.63, allocations: 68.56 kB / 433.3 MB, free: 4.863 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.715e-05/0.63, allocations: 3.438 kB / 433.3 MB, free: 4.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.6302, allocations: 341.2 kB / 433.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002713/0.6305, allocations: 82.08 kB / 433.7 MB, free: 4.48 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002917/0.6308, allocations: 115 kB / 433.8 MB, free: 4.395 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002747/0.6311, allocations: 99.88 kB / 433.9 MB, free: 4.32 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.6311, allocations: 0 / 433.9 MB, free: 4.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007699/0.6319, allocations: 286.8 kB / 434.2 MB, free: 4.098 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.6319, allocations: 29.7 kB / 434.2 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6319, allocations: 0 / 434.2 MB, free: 4.062 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.632, allocations: 11.92 kB / 434.2 MB, free: 4.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004421/0.6364, allocations: 335.2 kB / 434.5 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007034/0.6435, allocations: 3.051 MB / 437.6 MB, free: 0.5195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007893/0.6443, allocations: 59.36 kB / 437.7 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-05/0.6444, allocations: 4 kB / 437.7 MB, free: 472 kB / 346.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.0001606/0.6445, allocations: 127 kB / 437.8 MB, free: 348 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.171e-05/0.6446, allocations: 27.7 kB / 437.8 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.35e-05/0.6447, allocations: 26.53 kB / 437.8 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/0.6447, allocations: 7.953 kB / 437.8 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.6447, allocations: 0 / 437.8 MB, free: 304 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.6448, allocations: 3.984 kB / 437.8 MB, free: 300 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001943/0.6467, allocations: 0.7838 MB / 438.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.6467, allocations: 0 / 438.6 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004405/0.6511, allocations: 335.2 kB / 439 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.6512, allocations: 11.89 kB / 439 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.6512, allocations: 7.438 kB / 439 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007045/0.6583, allocations: 3.042 MB / 442 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.6583, allocations: 0 / 442 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.6594, allocations: 459.4 kB / 442.5 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000106/0.6595, allocations: 108.9 kB / 442.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.6596, allocations: 0 / 442.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007153/0.6603, allocations: 55.66 kB / 442.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.6605, allocations: 34.89 kB / 442.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.34e-05/0.6605, allocations: 4 kB / 442.7 MB, free: 11.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002386/0.6608, allocations: 169.1 kB / 442.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6608, allocations: 0 / 442.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006892/0.6615, allocations: 90.47 kB / 442.9 MB, free: 11.25 MB / 362.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.001433/0.6629, allocations: 1.139 MB / 444.1 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00415/0.6671, allocations: 480 kB / 444.5 MB, free: 9.77 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.6671, allocations: 4 kB / 444.5 MB, free: 9.766 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003749/0.6709, allocations: 341.8 kB / 444.9 MB, free: 9.469 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005266/0.6714, allocations: 38.36 kB / 444.9 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.6739, allocations: 0.5414 MB / 445.4 MB, free: 8.914 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.6744, allocations: 0.756 MB / 446.2 MB, free: 8.133 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002449/0.6746, allocations: 34 kB / 446.2 MB, free: 8.094 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.6748, allocations: 80.34 kB / 446.3 MB, free: 8.066 MB / 362.7 MB Notification: Performance of SimCode: time 1.193e-06/0.6748, allocations: 0 / 446.3 MB, free: 8.066 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03072/0.7056, allocations: 5.497 MB / 451.8 MB, free: 2.684 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003102/0.7059, allocations: 196 kB / 452 MB, free: 2.453 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.779/3.485, allocations: 64 / 452 MB, free: 2.453 MB / 362.7 MB