Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_2_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.677/1.677, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2441/1.921, allocations: 46.82 MB / 249.3 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/2.011, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2729/2.284, allocations: 74.05 MB / 367.9 MB, free: 7.133 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/2.284, allocations: 62.98 kB / 368 MB, free: 7.133 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.02365/2.307, allocations: 4.997 MB / 373 MB, free: 6.324 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/2.308, allocations: 12.95 kB / 373 MB, free: 6.324 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.881e-05/2.308, allocations: 31.06 kB / 373 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/2.308, allocations: 253.3 kB / 373.2 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/2.308, allocations: 10.88 kB / 373.3 MB, free: 6.086 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.167e-05/2.308, allocations: 16.36 kB / 373.3 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005578/2.309, allocations: 160.7 kB / 373.4 MB, free: 6.082 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005901/2.309, allocations: 213.7 kB / 373.6 MB, free: 6.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/2.309, allocations: 3.938 kB / 373.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.472e-05/2.309, allocations: 0.7031 kB / 373.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/2.309, allocations: 9.344 kB / 373.6 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003076/2.313, allocations: 0.9876 MB / 374.6 MB, free: 5.578 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003331/2.313, allocations: 105.2 kB / 374.7 MB, free: 5.562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004967/2.313, allocations: 154.5 kB / 374.9 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.806e-05/2.313, allocations: 4.594 kB / 374.9 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003547/2.314, allocations: 167.4 kB / 375.1 MB, free: 5.465 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.976e-06/2.314, allocations: 0 / 375.1 MB, free: 5.465 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006333/2.314, allocations: 197.9 kB / 375.2 MB, free: 5.418 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/2.315, allocations: 107.3 kB / 375.4 MB, free: 5.293 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/2.315, allocations: 191.4 kB / 375.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.619e-05/2.315, allocations: 25.7 kB / 375.6 MB, free: 5.168 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.868e-05/2.315, allocations: 143 kB / 375.7 MB, free: 5.059 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/2.315, allocations: 64.64 kB / 375.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.63e-05/2.315, allocations: 0 / 375.8 MB, free: 5.016 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/2.315, allocations: 331 kB / 376.1 MB, free: 20.7 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/2.315, allocations: 77.22 kB / 376.2 MB, free: 20.7 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/2.316, allocations: 111.5 kB / 376.3 MB, free: 20.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/2.316, allocations: 76.84 kB / 376.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/2.316, allocations: 0 / 376.4 MB, free: 20.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006304/2.317, allocations: 234.9 kB / 376.6 MB, free: 20.6 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/2.317, allocations: 10.34 kB / 376.6 MB, free: 20.6 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/2.317, allocations: 7.938 kB / 376.6 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/2.317, allocations: 0 / 376.6 MB, free: 20.59 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004808/2.322, allocations: 360 kB / 376.9 MB, free: 20.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007693/2.329, allocations: 3.008 MB / 380 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/2.33, allocations: 62.66 kB / 380 MB, free: 17.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.081e-05/2.33, allocations: 13.09 kB / 380 MB, free: 17.91 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.0001635/2.33, allocations: 125.2 kB / 380.2 MB, free: 17.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.897e-05/2.33, allocations: 24.17 kB / 380.2 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.886e-05/2.331, allocations: 23.48 kB / 380.2 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/2.331, allocations: 4.641 kB / 380.2 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/2.331, allocations: 0 / 380.2 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/2.331, allocations: 5.156 kB / 380.2 MB, free: 17.77 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001836/2.332, allocations: 0.7345 MB / 380.9 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/2.332, allocations: 0 / 380.9 MB, free: 17.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004719/2.337, allocations: 356.5 kB / 381.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.486e-06/2.337, allocations: 0 / 381.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/2.337, allocations: 5.219 kB / 381.3 MB, free: 17.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007575/2.345, allocations: 3.017 MB / 384.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.192e-06/2.345, allocations: 0 / 384.3 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009909/2.346, allocations: 438.8 kB / 384.7 MB, free: 14.52 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001274/2.347, allocations: 0.9082 MB / 385.7 MB, free: 13.94 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/2.347, allocations: 98.53 kB / 385.7 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.939e-05/2.347, allocations: 4.578 kB / 385.8 MB, free: 13.84 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007868/2.348, allocations: 51.48 kB / 385.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/2.348, allocations: 30.28 kB / 385.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.35e-05/2.348, allocations: 13.39 kB / 385.8 MB, free: 13.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002073/2.349, allocations: 152.6 kB / 386 MB, free: 13.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001566/2.35, allocations: 78.53 kB / 386.1 MB, free: 13.73 MB / 314.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.0002092/2.35, allocations: 116.8 kB / 386.2 MB, free: 13.64 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006427/2.357, allocations: 0.5845 MB / 386.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/2.357, allocations: 0 / 386.8 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00603/2.363, allocations: 0.4889 MB / 387.3 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005114/2.364, allocations: 31.8 kB / 387.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/2.366, allocations: 425.9 kB / 387.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005017/2.366, allocations: 0.7876 MB / 388.5 MB, free: 12.44 MB / 314.7 MB Notification: Performance of SimCode: time 1.813e-06/2.366, allocations: 0 / 388.5 MB, free: 12.44 MB / 314.7 MB