Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.668/2.668, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.971e-05/4.997e-05, allocations: 7.688 kB / 249.8 MB, free: 5.254 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1181, allocations: 44.51 MB / 294.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5259/0.6441, allocations: 74.11 MB / 368.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.6444, allocations: 67.5 kB / 368.4 MB, free: 7.191 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02914/0.6736, allocations: 4.57 MB / 373 MB, free: 22.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.6736, allocations: 0 / 373 MB, free: 22.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.326e-05/0.6737, allocations: 3.875 kB / 373 MB, free: 22.54 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.002266/0.6759, allocations: 0.6116 MB / 373.6 MB, free: 22.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.591e-05/0.676, allocations: 7.594 kB / 373.6 MB, free: 22.09 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001041/0.6761, allocations: 48.52 kB / 373.7 MB, free: 22.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.6763, allocations: 30.09 kB / 373.7 MB, free: 22.04 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.6768, allocations: 257.2 kB / 374 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.6768, allocations: 11.44 kB / 374 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.347e-05/0.6769, allocations: 19.22 kB / 374 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006789/0.6776, allocations: 162.1 kB / 374.2 MB, free: 21.8 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.6783, allocations: 216.2 kB / 374.4 MB, free: 21.75 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/0.6784, allocations: 3.984 kB / 374.4 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.6785, allocations: 0 / 374.4 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.173e-05/0.6785, allocations: 4.469 kB / 374.4 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00369/0.6822, allocations: 0.9749 MB / 375.3 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00638/0.6886, allocations: 468.8 kB / 375.8 MB, free: 21.26 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006207/0.6893, allocations: 151 kB / 376 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.99e-05/0.6894, allocations: 7.391 kB / 376 MB, free: 21.25 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004525/0.6898, allocations: 169.3 kB / 376.1 MB, free: 21.17 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.085e-06/0.6899, allocations: 0 / 376.1 MB, free: 21.17 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007748/0.6906, allocations: 199.2 kB / 376.3 MB, free: 21.12 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.54e-05/0.6907, allocations: 117.2 kB / 376.4 MB, free: 20.99 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.6911, allocations: 187.4 kB / 376.6 MB, free: 20.9 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.879e-05/0.6911, allocations: 33.67 kB / 376.6 MB, free: 20.86 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.6913, allocations: 162.3 kB / 376.8 MB, free: 20.75 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/0.6914, allocations: 63.77 kB / 376.9 MB, free: 20.71 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.6914, allocations: 0 / 376.9 MB, free: 20.71 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6916, allocations: 334.5 kB / 377.2 MB, free: 20.4 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002812/0.6919, allocations: 75.59 kB / 377.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/0.6922, allocations: 109.1 kB / 377.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002546/0.6925, allocations: 78.72 kB / 377.5 MB, free: 20.35 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6925, allocations: 0 / 377.5 MB, free: 20.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007651/0.6933, allocations: 237.7 kB / 377.7 MB, free: 20.3 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/0.6934, allocations: 33.52 kB / 377.7 MB, free: 20.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.6935, allocations: 3.953 kB / 377.7 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.6935, allocations: 3.938 kB / 377.7 MB, free: 20.26 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005453/0.699, allocations: 338.2 kB / 378.1 MB, free: 20.24 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008366/0.7074, allocations: 2.96 MB / 381 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009695/0.7084, allocations: 60.88 kB / 381.1 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.038e-05/0.7084, allocations: 7.5 kB / 381.1 MB, free: 17.6 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.0002037/0.7087, allocations: 119 kB / 381.2 MB, free: 17.48 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.389e-05/0.7088, allocations: 34.52 kB / 381.2 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001045/0.7089, allocations: 24.25 kB / 381.3 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.7089, allocations: 3.844 kB / 381.3 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.7089, allocations: 2.859 kB / 381.3 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.7089, allocations: 0 / 381.3 MB, free: 17.46 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002188/0.7111, allocations: 0.7305 MB / 382 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.7112, allocations: 0 / 382 MB, free: 17.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005334/0.7165, allocations: 331.2 kB / 382.3 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-05/0.7166, allocations: 0 / 382.3 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.552e-05/0.7166, allocations: 10.14 kB / 382.3 MB, free: 17.07 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007955/0.7246, allocations: 2.962 MB / 385.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.542e-06/0.7246, allocations: 4.062 kB / 385.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.7258, allocations: 433.8 kB / 385.7 MB, free: 14.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/0.726, allocations: 100.6 kB / 385.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.582e-05/0.7261, allocations: 7.375 kB / 385.8 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008752/0.727, allocations: 50.97 kB / 385.9 MB, free: 14.1 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001804/0.7272, allocations: 35.14 kB / 385.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.531e-05/0.7272, allocations: 11.16 kB / 385.9 MB, free: 14.08 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003364/0.7276, allocations: 151.8 kB / 386.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of sort global known variables: time 9.72e-07/0.7276, allocations: 0 / 386.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001391/0.729, allocations: 77.94 kB / 386.1 MB, free: 13.98 MB / 314.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.001779/0.7308, allocations: 1.13 MB / 387.3 MB, free: 13.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.005191/0.7361, allocations: 472 kB / 387.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/0.7361, allocations: 0 / 387.7 MB, free: 12.95 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004827/0.7409, allocations: 340.2 kB / 388.1 MB, free: 12.87 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006871/0.7417, allocations: 39.77 kB / 388.1 MB, free: 12.85 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002968/0.7447, allocations: 482.2 kB / 388.6 MB, free: 12.54 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.7451, allocations: 0.758 MB / 389.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003235/0.7455, allocations: 21.83 kB / 389.4 MB, free: 11.8 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002385/0.7457, allocations: 78.66 kB / 389.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7458, allocations: 0 / 389.4 MB, free: 11.78 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2244/0.9702, allocations: 5.007 MB / 394.4 MB, free: 9.371 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002914/0.9705, allocations: 160.2 kB / 394.6 MB, free: 9.176 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.523/4.493, allocations: 3.938 kB / 394.6 MB, free: 9.172 MB / 314.7 MB