Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.769/1.77, allocations: 171.2 MB / 178.1 MB, free: 8.281 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2341/2.004, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/2.12, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3215/2.442, allocations: 69.33 MB / 327.3 MB, free: 2.664 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003534/2.442, allocations: 70.08 kB / 327.4 MB, free: 2.629 MB / 266.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.04029/2.483, allocations: 5.052 MB / 332.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.996e-05/2.483, allocations: 11.98 kB / 332.5 MB, free: 14.21 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001599/2.483, allocations: 31.62 kB / 332.5 MB, free: 14.18 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006602/2.484, allocations: 259.6 kB / 332.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/2.484, allocations: 4 kB / 332.8 MB, free: 13.91 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001057/2.484, allocations: 19.91 kB / 332.8 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008951/2.485, allocations: 168.7 kB / 333 MB, free: 13.79 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009262/2.486, allocations: 212.6 kB / 333.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/2.486, allocations: 4 kB / 333.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/2.486, allocations: 0 / 333.2 MB, free: 13.62 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.001e-05/2.486, allocations: 11.94 kB / 333.2 MB, free: 13.61 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005587/2.492, allocations: 0.9786 MB / 334.2 MB, free: 12.75 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/2.492, allocations: 112.5 kB / 334.3 MB, free: 12.67 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008699/2.493, allocations: 149.7 kB / 334.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.838e-05/2.493, allocations: 7.906 kB / 334.4 MB, free: 12.56 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006097/2.494, allocations: 160.5 kB / 334.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of pre-optimization done (n=21): time 4.018e-06/2.494, allocations: 0 / 334.6 MB, free: 12.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=21): time 0.001036/2.495, allocations: 199.6 kB / 334.8 MB, free: 12.26 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.462e-05/2.495, allocations: 106.8 kB / 334.9 MB, free: 12.13 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004803/2.496, allocations: 195.6 kB / 335.1 MB, free: 11.96 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001427/2.496, allocations: 25.7 kB / 335.1 MB, free: 11.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001726/2.496, allocations: 135.9 kB / 335.2 MB, free: 11.81 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001675/2.496, allocations: 74 kB / 335.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.128e-05/2.496, allocations: 0 / 335.3 MB, free: 11.74 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002297/2.496, allocations: 333.2 kB / 335.6 MB, free: 11.42 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/2.497, allocations: 72.97 kB / 335.7 MB, free: 11.38 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004916/2.497, allocations: 106.5 kB / 335.8 MB, free: 11.3 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/2.498, allocations: 87.97 kB / 335.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/2.498, allocations: 0 / 335.9 MB, free: 11.24 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001294/2.499, allocations: 226.2 kB / 336.1 MB, free: 11.07 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/2.499, allocations: 11.88 kB / 336.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.561e-05/2.499, allocations: 0 / 336.1 MB, free: 11.06 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.746e-05/2.5, allocations: 4 kB / 336.1 MB, free: 11.05 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007829/2.507, allocations: 363.7 kB / 336.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01252/2.52, allocations: 3.016 MB / 339.5 MB, free: 7.562 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/2.521, allocations: 67.98 kB / 339.6 MB, free: 7.496 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.402e-05/2.521, allocations: 7 kB / 339.6 MB, free: 7.492 MB / 282.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.0002487/2.522, allocations: 108.9 kB / 339.7 MB, free: 7.379 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/2.522, allocations: 23.72 kB / 339.7 MB, free: 7.355 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/2.522, allocations: 30.95 kB / 339.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/2.522, allocations: 3.906 kB / 339.7 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/2.522, allocations: 0 / 339.7 MB, free: 7.336 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.342e-05/2.522, allocations: 8 kB / 339.7 MB, free: 7.328 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003307/2.525, allocations: 0.7373 MB / 340.5 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/2.525, allocations: 0 / 340.5 MB, free: 6.664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008482/2.534, allocations: 359.2 kB / 340.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-05/2.534, allocations: 0 / 340.8 MB, free: 6.316 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/2.534, allocations: 7.984 kB / 340.8 MB, free: 6.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01546/2.55, allocations: 3.008 MB / 343.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.396e-06/2.55, allocations: 0 / 343.8 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002223/2.552, allocations: 432.1 kB / 344.3 MB, free: 2.82 MB / 282.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001509/2.554, allocations: 0.9154 MB / 345.2 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/2.554, allocations: 118.1 kB / 345.3 MB, free: 1.898 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/2.554, allocations: 4 kB / 345.3 MB, free: 1.895 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008569/2.555, allocations: 63.38 kB / 345.4 MB, free: 1.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/2.555, allocations: 27.22 kB / 345.4 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/2.555, allocations: 7.984 kB / 345.4 MB, free: 1.805 MB / 282.7 MB Notification: Performance of sort global known variables: time 0.0002487/2.555, allocations: 153.6 kB / 345.5 MB, free: 1.684 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001781/2.557, allocations: 79.77 kB / 345.6 MB, free: 1.605 MB / 282.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.0003348/2.558, allocations: 115.2 kB / 345.7 MB, free: 1.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.007009/2.565, allocations: 0.5858 MB / 346.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/2.565, allocations: 0 / 346.3 MB, free: 0.9531 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007008/2.572, allocations: 497.6 kB / 346.8 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/2.572, allocations: 29.77 kB / 346.8 MB, free: 492 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002564/2.575, allocations: 438.4 kB / 347.3 MB, free: 72 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006751/2.576, allocations: 0.7813 MB / 348 MB, free: 15.27 MB / 298.7 MB Notification: Performance of SimCode: time 1.373e-06/2.576, allocations: 0 / 348 MB, free: 15.27 MB / 298.7 MB