Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.742/1.742, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.557e-05/3.57e-05, allocations: 4 kB / 225.1 MB, free: 2.703 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2531/0.2532, allocations: 38.77 MB / 263.8 MB, free: 9.852 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.3999, allocations: 69.76 MB / 333.6 MB, free: 3.988 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000249/0.4002, allocations: 67.97 kB / 333.7 MB, free: 3.922 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0232/0.4235, allocations: 4.646 MB / 338.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4235, allocations: 0 / 338.3 MB, free: 15.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.4235, allocations: 4 kB / 338.3 MB, free: 15.25 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.001853/0.4254, allocations: 0.6098 MB / 338.9 MB, free: 14.59 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.4255, allocations: 12.03 kB / 338.9 MB, free: 14.58 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.449e-05/0.4256, allocations: 50.55 kB / 339 MB, free: 14.52 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000105/0.4257, allocations: 31.62 kB / 339 MB, free: 14.49 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004215/0.4261, allocations: 259.7 kB / 339.3 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.691e-05/0.4262, allocations: 20.39 kB / 339.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.669e-05/0.4262, allocations: 20 kB / 339.3 MB, free: 14.16 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006488/0.4269, allocations: 237.9 kB / 339.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4269, allocations: 0 / 339.5 MB, free: 13.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.422e-05/0.427, allocations: 12 kB / 339.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.427, allocations: 7.938 kB / 339.6 MB, free: 13.89 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005718/0.4276, allocations: 181.7 kB / 339.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002983/0.4306, allocations: 1.023 MB / 340.8 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004965/0.4356, allocations: 482.3 kB / 341.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000541/0.4362, allocations: 164.8 kB / 341.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.4362, allocations: 4 kB / 341.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004574/0.4367, allocations: 179.1 kB / 341.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.755e-06/0.4367, allocations: 0 / 341.6 MB, free: 11.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006903/0.4374, allocations: 214.8 kB / 341.8 MB, free: 11.57 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.179e-05/0.4375, allocations: 110.8 kB / 341.9 MB, free: 11.43 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000327/0.4378, allocations: 205.1 kB / 342.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.4379, allocations: 33.7 kB / 342.1 MB, free: 11.18 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.4381, allocations: 210.6 kB / 342.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.171e-05/0.4382, allocations: 71 kB / 342.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.4382, allocations: 4 kB / 342.4 MB, free: 10.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4384, allocations: 318.8 kB / 342.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002704/0.4387, allocations: 80.45 kB / 342.8 MB, free: 10.5 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.439, allocations: 112.4 kB / 342.9 MB, free: 10.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002812/0.4393, allocations: 105.6 kB / 343 MB, free: 10.27 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.4393, allocations: 7.922 kB / 343 MB, free: 10.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007289/0.44, allocations: 263.1 kB / 343.3 MB, free: 9.988 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.914e-05/0.4401, allocations: 33.7 kB / 343.3 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.4401, allocations: 3.984 kB / 343.3 MB, free: 9.945 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.4402, allocations: 8.094 kB / 343.3 MB, free: 9.938 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/0.4445, allocations: 327.7 kB / 343.6 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006916/0.4514, allocations: 3.064 MB / 346.7 MB, free: 6.297 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007478/0.4522, allocations: 63.73 kB / 346.8 MB, free: 6.234 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.361e-05/0.4523, allocations: 16 kB / 346.8 MB, free: 6.219 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.000165/0.4524, allocations: 116.9 kB / 346.9 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.889e-05/0.4525, allocations: 31.66 kB / 346.9 MB, free: 6.066 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.394e-05/0.4526, allocations: 21.97 kB / 346.9 MB, free: 6.043 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.171e-06/0.4526, allocations: 4 kB / 346.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.565e-06/0.4527, allocations: 0 / 346.9 MB, free: 6.039 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.4527, allocations: 3.984 kB / 346.9 MB, free: 6.035 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002209/0.4549, allocations: 0.7959 MB / 347.7 MB, free: 5.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.4549, allocations: 4.047 kB / 347.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004347/0.4593, allocations: 323.7 kB / 348.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.4593, allocations: 0 / 348.1 MB, free: 4.859 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/0.4594, allocations: 8 kB / 348.1 MB, free: 4.852 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006931/0.4663, allocations: 3.06 MB / 351.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.4664, allocations: 3.984 kB / 351.1 MB, free: 1.523 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00108/0.4675, allocations: 454.9 kB / 351.6 MB, free: 1.047 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001942/0.4677, allocations: 132.6 kB / 351.7 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.69e-05/0.4678, allocations: 11.94 kB / 351.7 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006854/0.4685, allocations: 48.02 kB / 351.8 MB, free: 0.8398 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001262/0.4686, allocations: 31.95 kB / 351.8 MB, free: 0.8086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-05/0.4687, allocations: 4 kB / 351.8 MB, free: 0.8047 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002425/0.4689, allocations: 173.3 kB / 352 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-07/0.4689, allocations: 0 / 352 MB, free: 0.6367 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000642/0.4696, allocations: 87.84 kB / 352.1 MB, free: 0.5508 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.001496/0.4711, allocations: 1.136 MB / 353.2 MB, free: 15.38 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004045/0.4752, allocations: 487.2 kB / 353.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.4752, allocations: 7.938 kB / 353.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003634/0.4788, allocations: 335.9 kB / 354 MB, free: 14.55 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004556/0.4793, allocations: 40.41 kB / 354 MB, free: 14.51 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.4817, allocations: 0.5168 MB / 354.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004005/0.4821, allocations: 0.7596 MB / 355.3 MB, free: 13.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002418/0.4824, allocations: 87.41 kB / 355.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of SimCode: time 7.82e-07/0.4824, allocations: 0 / 355.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.803/3.285, allocations: 6.207 MB / 361.6 MB, free: 6.875 MB / 314.7 MB