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.814/1.814, allocations: 171.3 MB / 178.8 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.531e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2646, allocations: 38.77 MB / 258.3 MB, free: 12.06 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.3877, allocations: 69.1 MB / 327.4 MB, free: 8.73 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.388, allocations: 71.95 kB / 327.5 MB, free: 8.66 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02282/0.4108, allocations: 4.595 MB / 332.1 MB, free: 4.051 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4109, allocations: 3.938 kB / 332.1 MB, free: 4.047 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.127e-05/0.4109, allocations: 8 kB / 332.1 MB, free: 4.039 MB / 282.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.001832/0.4127, allocations: 0.6059 MB / 332.7 MB, free: 3.375 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/0.4128, allocations: 12.03 kB / 332.7 MB, free: 3.363 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.4129, allocations: 31.62 kB / 332.7 MB, free: 3.332 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000417/0.4134, allocations: 259.7 kB / 333 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.4134, allocations: 4 kB / 333 MB, free: 3.031 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.338e-05/0.4135, allocations: 23.95 kB / 333 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005176/0.414, allocations: 160.9 kB / 333.2 MB, free: 2.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005716/0.4146, allocations: 213 kB / 333.4 MB, free: 2.629 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.4146, allocations: 3.938 kB / 333.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.849e-05/0.4147, allocations: 0 / 333.4 MB, free: 2.625 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.488e-05/0.4147, allocations: 8 kB / 333.4 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.4176, allocations: 0.976 MB / 334.4 MB, free: 1.586 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004888/0.4225, allocations: 474.3 kB / 334.8 MB, free: 1.113 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004971/0.423, allocations: 140.8 kB / 335 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.712e-05/0.4231, allocations: 7.984 kB / 335 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004283/0.4235, allocations: 167.2 kB / 335.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 2.895e-06/0.4235, allocations: 0 / 335.1 MB, free: 0.7773 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006477/0.4242, allocations: 201.7 kB / 335.3 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.013e-05/0.4243, allocations: 110.8 kB / 335.5 MB, free: 452 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.4246, allocations: 188.5 kB / 335.6 MB, free: 260 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.043e-05/0.4246, allocations: 29.73 kB / 335.7 MB, free: 224 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001455/0.4248, allocations: 218.8 kB / 335.9 MB, free: 4 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.4249, allocations: 67.02 kB / 335.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.4249, allocations: 3.938 kB / 335.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.4251, allocations: 326.8 kB / 336.3 MB, free: 15.61 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002188/0.4253, allocations: 68.47 kB / 336.3 MB, free: 15.54 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/0.4256, allocations: 108.1 kB / 336.4 MB, free: 15.42 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/0.4258, allocations: 75.94 kB / 336.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/0.4258, allocations: 0 / 336.5 MB, free: 15.34 MB / 298.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006576/0.4265, allocations: 229.4 kB / 336.7 MB, free: 15.11 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.314e-05/0.4266, allocations: 33.3 kB / 336.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.4266, allocations: 0 / 336.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4266, allocations: 4 kB / 336.8 MB, free: 15.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004293/0.4309, allocations: 335.7 kB / 337.1 MB, free: 14.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00676/0.4377, allocations: 2.961 MB / 340.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000772/0.4385, allocations: 63.98 kB / 340.1 MB, free: 11.5 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.4386, allocations: 15.98 kB / 340.1 MB, free: 11.48 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.0001563/0.4387, allocations: 112 kB / 340.3 MB, free: 11.37 MB / 298.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005327/0.4393, allocations: 201.3 kB / 340.4 MB, free: 11.16 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.819e-05/0.4394, allocations: 19.81 kB / 340.5 MB, free: 11.14 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.142e-05/0.4395, allocations: 29.95 kB / 340.5 MB, free: 11.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.362e-06/0.4395, allocations: 7.938 kB / 340.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.504e-06/0.4395, allocations: 0 / 340.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.4395, allocations: 3.953 kB / 340.5 MB, free: 11.11 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001769/0.4413, allocations: 0.7455 MB / 341.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.4413, allocations: 0 / 341.3 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004258/0.4456, allocations: 319.8 kB / 341.6 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.17e-05/0.4456, allocations: 4 kB / 341.6 MB, free: 9.992 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.558e-05/0.4457, allocations: 3.984 kB / 341.6 MB, free: 9.988 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006587/0.4523, allocations: 2.961 MB / 344.5 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.4523, allocations: 0 / 344.5 MB, free: 6.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.4533, allocations: 446.8 kB / 345 MB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.4535, allocations: 117 kB / 345.1 MB, free: 6.203 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.662e-05/0.4536, allocations: 4 kB / 345.1 MB, free: 6.199 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007404/0.4544, allocations: 47.95 kB / 345.1 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.4545, allocations: 35.95 kB / 345.2 MB, free: 6.117 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.219e-05/0.4546, allocations: 4 kB / 345.2 MB, free: 6.113 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002193/0.4548, allocations: 156.5 kB / 345.3 MB, free: 5.965 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4548, allocations: 0 / 345.3 MB, free: 5.965 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0007154/0.4555, allocations: 87.73 kB / 345.4 MB, free: 5.879 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.001367/0.4569, allocations: 1.114 MB / 346.5 MB, free: 4.727 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.004035/0.461, allocations: 483 kB / 347 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.461, allocations: 0 / 347 MB, free: 4.242 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003648/0.4647, allocations: 331.9 kB / 347.3 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004972/0.4652, allocations: 30.78 kB / 347.4 MB, free: 3.891 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002398/0.4676, allocations: 0.4973 MB / 347.9 MB, free: 3.344 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000391/0.468, allocations: 0.7594 MB / 348.6 MB, free: 2.559 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.4683, allocations: 79.41 kB / 348.7 MB, free: 2.48 MB / 298.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4683, allocations: 0 / 348.7 MB, free: 2.48 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.571/3.039, allocations: 6.152 MB / 354.8 MB, free: 12.33 MB / 314.7 MB