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.013/2.013, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.813e-05, allocations: 4 kB / 255.5 MB, free: 3.078 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 44.5 MB / 299.9 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4484/0.5575, allocations: 74.79 MB / 374.7 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/0.5578, allocations: 68.69 kB / 374.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02223/0.5801, allocations: 4.579 MB / 379.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.5801, allocations: 1.094 kB / 379.4 MB, free: 11.83 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.934e-05/0.5802, allocations: 8.438 kB / 379.4 MB, free: 11.82 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.001756/0.5819, allocations: 0.6057 MB / 380 MB, free: 11.37 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.582, allocations: 13.44 kB / 380 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.275e-05/0.5821, allocations: 56.27 kB / 380.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.004e-05/0.5822, allocations: 27.09 kB / 380.1 MB, free: 11.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.5826, allocations: 264.5 kB / 380.3 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.992e-05/0.5826, allocations: 15.53 kB / 380.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.5827, allocations: 20.28 kB / 380.4 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006445/0.5833, allocations: 238.1 kB / 380.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.5834, allocations: 5.156 kB / 380.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/0.5834, allocations: 9.594 kB / 380.6 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.5835, allocations: 8.875 kB / 380.6 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005346/0.584, allocations: 168.6 kB / 380.8 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002803/0.5868, allocations: 1.019 MB / 381.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004944/0.5918, allocations: 482 kB / 382.3 MB, free: 10.51 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004995/0.5923, allocations: 162.3 kB / 382.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.5923, allocations: 2.438 kB / 382.5 MB, free: 10.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004014/0.5928, allocations: 176.5 kB / 382.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.435e-06/0.5928, allocations: 0 / 382.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006408/0.5934, allocations: 222.5 kB / 382.8 MB, free: 10.36 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.643e-05/0.5935, allocations: 107 kB / 382.9 MB, free: 10.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.5938, allocations: 203.6 kB / 383.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.894e-05/0.5938, allocations: 30.89 kB / 383.2 MB, free: 10.11 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.582e-05/0.5939, allocations: 218.4 kB / 383.4 MB, free: 9.934 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.337e-05/0.594, allocations: 68.78 kB / 383.5 MB, free: 9.895 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.5941, allocations: 4.969 kB / 383.5 MB, free: 9.895 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.5941, allocations: 318.7 kB / 383.8 MB, free: 9.582 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000247/0.5944, allocations: 82.8 kB / 383.9 MB, free: 9.574 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002804/0.5947, allocations: 120.1 kB / 384 MB, free: 9.535 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002894/0.595, allocations: 107 kB / 384.1 MB, free: 9.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.595, allocations: 0 / 384.1 MB, free: 9.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006781/0.5957, allocations: 271.9 kB / 384.3 MB, free: 9.418 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.608e-05/0.5957, allocations: 40.02 kB / 384.4 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.5958, allocations: 0 / 384.4 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.5958, allocations: 2.938 kB / 384.4 MB, free: 9.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004356/0.6002, allocations: 330.3 kB / 384.7 MB, free: 9.367 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006433/0.6066, allocations: 3.038 MB / 387.7 MB, free: 22.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008236/0.6075, allocations: 64.45 kB / 387.8 MB, free: 22.61 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.127e-05/0.6076, allocations: 8.641 kB / 387.8 MB, free: 22.61 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.0001622/0.6077, allocations: 123.5 kB / 387.9 MB, free: 22.5 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.494e-05/0.6078, allocations: 24.09 kB / 388 MB, free: 22.49 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.148e-05/0.6079, allocations: 30.81 kB / 388 MB, free: 22.48 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.6079, allocations: 6.688 kB / 388 MB, free: 22.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6079, allocations: 0 / 388 MB, free: 22.47 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.608, allocations: 1.375 kB / 388 MB, free: 22.47 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.6098, allocations: 0.7941 MB / 388.8 MB, free: 22.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.6098, allocations: 5.281 kB / 388.8 MB, free: 22.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004329/0.6141, allocations: 327.5 kB / 389.1 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.279e-05/0.6142, allocations: 6.547 kB / 389.1 MB, free: 22.04 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.817e-05/0.6143, allocations: 7.922 kB / 389.1 MB, free: 22.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006798/0.6211, allocations: 3.041 MB / 392.2 MB, free: 19.29 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.6211, allocations: 1.281 kB / 392.2 MB, free: 19.29 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.6221, allocations: 464.2 kB / 392.6 MB, free: 19.08 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/0.6223, allocations: 103.9 kB / 392.7 MB, free: 18.97 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.617e-05/0.6224, allocations: 3.125 kB / 392.7 MB, free: 18.97 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007049/0.6231, allocations: 57.22 kB / 392.8 MB, free: 18.97 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.6232, allocations: 27.08 kB / 392.8 MB, free: 18.97 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.137e-05/0.6233, allocations: 10.78 kB / 392.8 MB, free: 18.97 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000226/0.6235, allocations: 162.7 kB / 393 MB, free: 18.89 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6235, allocations: 0 / 393 MB, free: 18.89 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007064/0.6242, allocations: 87.41 kB / 393.1 MB, free: 18.88 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.001421/0.6257, allocations: 1.147 MB / 394.2 MB, free: 18 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004107/0.6298, allocations: 479.7 kB / 394.7 MB, free: 17.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.6299, allocations: 4.562 kB / 394.7 MB, free: 17.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003649/0.6335, allocations: 340.3 kB / 395 MB, free: 17.9 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005511/0.6341, allocations: 37.94 kB / 395.1 MB, free: 17.9 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002445/0.6366, allocations: 0.5126 MB / 395.6 MB, free: 17.62 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003982/0.637, allocations: 0.7594 MB / 396.3 MB, free: 16.92 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002229/0.6373, allocations: 85.27 kB / 396.4 MB, free: 16.91 MB / 330.7 MB Notification: Performance of SimCode: time 1.021e-06/0.6373, allocations: 3.938 kB / 396.4 MB, free: 16.91 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.639/3.277, allocations: 6.202 MB / 402.6 MB, free: 16.58 MB / 330.7 MB