Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 194.9 MB / 208.4 MB, free: 3.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.563e-05/3.582e-05, allocations: 4 kB / 255.4 MB, free: 3.113 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09687/0.09694, allocations: 44.51 MB / 299.9 MB, free: 6.551 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4529/0.5499, allocations: 74.78 MB / 374.7 MB, free: 13.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/0.5502, allocations: 71.02 kB / 374.8 MB, free: 13.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02231/0.5725, allocations: 4.583 MB / 379.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5726, allocations: 0 / 379.4 MB, free: 12.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.047e-05/0.5726, allocations: 9.625 kB / 379.4 MB, free: 12.37 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.001773/0.5744, allocations: 0.6054 MB / 380 MB, free: 11.92 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/0.5745, allocations: 8.75 kB / 380 MB, free: 11.92 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.75e-05/0.5746, allocations: 63.73 kB / 380 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.995e-05/0.5747, allocations: 26.28 kB / 380.1 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.5751, allocations: 264.3 kB / 380.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.133e-05/0.5751, allocations: 11.56 kB / 380.3 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.665e-05/0.5752, allocations: 19.47 kB / 380.4 MB, free: 11.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000633/0.5758, allocations: 241.6 kB / 380.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.5759, allocations: 0.9688 kB / 380.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.5759, allocations: 9.094 kB / 380.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5759, allocations: 4.594 kB / 380.6 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005584/0.5765, allocations: 183.7 kB / 380.8 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.5794, allocations: 1.012 MB / 381.8 MB, free: 11.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004919/0.5844, allocations: 497.1 kB / 382.3 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005898/0.5851, allocations: 164.6 kB / 382.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.5851, allocations: 2.5 kB / 382.4 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004492/0.5856, allocations: 175.6 kB / 382.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 3.105e-06/0.5856, allocations: 1.562 kB / 382.6 MB, free: 10.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.000709/0.5863, allocations: 217.7 kB / 382.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.5864, allocations: 107.4 kB / 382.9 MB, free: 10.78 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.5867, allocations: 204.4 kB / 383.1 MB, free: 10.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/0.5867, allocations: 31.89 kB / 383.2 MB, free: 10.65 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.5869, allocations: 217.6 kB / 383.4 MB, free: 10.47 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.555e-05/0.5869, allocations: 66.89 kB / 383.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.587, allocations: 4.75 kB / 383.4 MB, free: 10.43 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.883e-05/0.5871, allocations: 320.8 kB / 383.8 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.5873, allocations: 82.23 kB / 383.8 MB, free: 10.11 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.5876, allocations: 120.2 kB / 384 MB, free: 10.07 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002603/0.5879, allocations: 109.5 kB / 384.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.927e-06/0.5879, allocations: 1.734 kB / 384.1 MB, free: 10.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000733/0.5886, allocations: 273.5 kB / 384.3 MB, free: 9.953 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.5887, allocations: 35.42 kB / 384.4 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.5887, allocations: 1.469 kB / 384.4 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.076e-05/0.5888, allocations: 2.953 kB / 384.4 MB, free: 9.918 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004317/0.5931, allocations: 329.6 kB / 384.7 MB, free: 9.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006319/0.5995, allocations: 3.045 MB / 387.7 MB, free: 7.156 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008367/0.6003, allocations: 65.11 kB / 387.8 MB, free: 7.145 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/0.6004, allocations: 10.06 kB / 387.8 MB, free: 7.145 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.0001404/0.6006, allocations: 122.7 kB / 387.9 MB, free: 7.031 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.6006, allocations: 22.72 kB / 388 MB, free: 7.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.598e-05/0.6007, allocations: 33.77 kB / 388 MB, free: 7.004 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.6008, allocations: 6.734 kB / 388 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6008, allocations: 2.828 kB / 388 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.6008, allocations: 4 kB / 388 MB, free: 6.996 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002059/0.6029, allocations: 0.7905 MB / 388.8 MB, free: 22.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.72e-06/0.6029, allocations: 1.312 kB / 388.8 MB, free: 22.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004279/0.6072, allocations: 325.5 kB / 389.1 MB, free: 22.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.275e-05/0.6073, allocations: 1.344 kB / 389.1 MB, free: 22.57 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.6073, allocations: 9.797 kB / 389.1 MB, free: 22.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006832/0.6142, allocations: 3.048 MB / 392.2 MB, free: 19.82 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.237e-06/0.6142, allocations: 1.281 kB / 392.2 MB, free: 19.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001169/0.6154, allocations: 457.3 kB / 392.6 MB, free: 19.62 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/0.6156, allocations: 105.3 kB / 392.7 MB, free: 19.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.231e-05/0.6157, allocations: 6 kB / 392.7 MB, free: 19.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007508/0.6164, allocations: 56.88 kB / 392.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/0.6166, allocations: 30.55 kB / 392.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.334e-05/0.6166, allocations: 14 kB / 392.8 MB, free: 19.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000227/0.6169, allocations: 164.4 kB / 393 MB, free: 19.42 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6169, allocations: 0 / 393 MB, free: 19.42 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006553/0.6175, allocations: 90.33 kB / 393.1 MB, free: 19.4 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.001383/0.6189, allocations: 1.138 MB / 394.2 MB, free: 18.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004032/0.623, allocations: 482.8 kB / 394.7 MB, free: 18.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/0.6231, allocations: 4.125 kB / 394.7 MB, free: 18.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003563/0.6266, allocations: 341.3 kB / 395 MB, free: 18.44 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.6272, allocations: 34.81 kB / 395.1 MB, free: 18.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002476/0.6297, allocations: 0.5247 MB / 395.6 MB, free: 18.15 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.6301, allocations: 0.755 MB / 396.3 MB, free: 17.45 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.6303, allocations: 84.02 kB / 396.4 MB, free: 17.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.342e-06/0.6304, allocations: 0 / 396.4 MB, free: 17.45 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.823/3.454, allocations: 6.216 MB / 402.6 MB, free: 17.12 MB / 330.7 MB