Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_Analog_Examples_ThyristorBehaviourTest",fmuType="cs",version="2.0",platforms={"dynamic"}) [: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.626/1.626, allocations: 194.9 MB / 202.6 MB, free: 6.906 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2278/1.854, allocations: 46.82 MB / 249.4 MB, free: 5.371 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08665/1.941, allocations: 44.51 MB / 293.9 MB, free: 10.89 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2714/2.212, allocations: 74.05 MB / 368 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/2.212, allocations: 63.84 kB / 368 MB, free: 7.07 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.02486/2.237, allocations: 4.995 MB / 373 MB, free: 6.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/2.237, allocations: 9.812 kB / 373 MB, free: 6.262 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000103/2.237, allocations: 30.88 kB / 373.1 MB, free: 6.246 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003928/2.238, allocations: 260.1 kB / 373.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.622e-05/2.238, allocations: 7.719 kB / 373.3 MB, free: 6.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-05/2.238, allocations: 16.28 kB / 373.3 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005773/2.238, allocations: 163.2 kB / 373.5 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005888/2.239, allocations: 222.7 kB / 373.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/2.239, allocations: 0 / 373.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/2.239, allocations: 0 / 373.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.718e-06/2.239, allocations: 4.328 kB / 373.7 MB, free: 5.961 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003161/2.242, allocations: 0.9886 MB / 374.7 MB, free: 5.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003453/2.243, allocations: 107.9 kB / 374.8 MB, free: 5.496 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/2.243, allocations: 148.8 kB / 375 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/2.243, allocations: 3.875 kB / 375 MB, free: 5.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003614/2.244, allocations: 164.7 kB / 375.1 MB, free: 5.402 MB / 298.7 MB Notification: Performance of pre-optimization done (n=21): time 2.174e-06/2.244, allocations: 0 / 375.1 MB, free: 5.402 MB / 298.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006317/2.244, allocations: 194.9 kB / 375.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/2.244, allocations: 107.2 kB / 375.4 MB, free: 5.23 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000251/2.245, allocations: 192.7 kB / 375.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.128e-05/2.245, allocations: 26.88 kB / 375.6 MB, free: 5.105 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/2.245, allocations: 143.4 kB / 375.8 MB, free: 4.992 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.27e-05/2.245, allocations: 66.19 kB / 375.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.879e-05/2.245, allocations: 0 / 375.8 MB, free: 4.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/2.245, allocations: 335.3 kB / 376.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002568/2.245, allocations: 77.3 kB / 376.2 MB, free: 20.63 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/2.246, allocations: 103.2 kB / 376.3 MB, free: 20.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002424/2.246, allocations: 77.61 kB / 376.4 MB, free: 20.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/2.246, allocations: 0 / 376.4 MB, free: 20.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006789/2.247, allocations: 233.5 kB / 376.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/2.247, allocations: 3.844 kB / 376.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/2.247, allocations: 8 kB / 376.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/2.247, allocations: 0 / 376.6 MB, free: 20.54 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005178/2.252, allocations: 367.8 kB / 377 MB, free: 20.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008268/2.26, allocations: 3.014 MB / 380 MB, free: 17.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008677/2.261, allocations: 67.28 kB / 380.1 MB, free: 17.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.364e-05/2.261, allocations: 5.203 kB / 380.1 MB, free: 17.84 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.0001661/2.261, allocations: 116.6 kB / 380.2 MB, free: 17.73 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/2.261, allocations: 30.84 kB / 380.2 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.073e-05/2.261, allocations: 22.77 kB / 380.3 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/2.261, allocations: 4.719 kB / 380.3 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/2.261, allocations: 0 / 380.3 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/2.261, allocations: 4.875 kB / 380.3 MB, free: 17.71 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/2.263, allocations: 0.7385 MB / 381 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/2.263, allocations: 0 / 381 MB, free: 17.33 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005136/2.269, allocations: 352.9 kB / 381.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/2.269, allocations: 0.5156 kB / 381.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/2.269, allocations: 8.781 kB / 381.4 MB, free: 17.3 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00806/2.277, allocations: 3.017 MB / 384.4 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/2.277, allocations: 3.938 kB / 384.4 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009714/2.278, allocations: 442.5 kB / 384.8 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001333/2.279, allocations: 0.9018 MB / 385.7 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.561e-05/2.279, allocations: 101.7 kB / 385.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.009e-05/2.279, allocations: 0.6562 kB / 385.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008217/2.28, allocations: 55.22 kB / 385.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/2.28, allocations: 29.91 kB / 385.9 MB, free: 13.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/2.28, allocations: 9.328 kB / 385.9 MB, free: 13.76 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0002216/2.281, allocations: 154.7 kB / 386.1 MB, free: 13.68 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00163/2.282, allocations: 81.94 kB / 386.1 MB, free: 13.67 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.000205/2.282, allocations: 120.8 kB / 386.3 MB, free: 13.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.006738/2.289, allocations: 0.5878 MB / 386.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/2.289, allocations: 0 / 386.8 MB, free: 13.49 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006365/2.296, allocations: 492.6 kB / 387.3 MB, free: 13.36 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000463/2.296, allocations: 30.83 kB / 387.4 MB, free: 13.34 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/2.298, allocations: 427 kB / 387.8 MB, free: 13.1 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005286/2.299, allocations: 0.7905 MB / 388.6 MB, free: 12.35 MB / 314.7 MB Notification: Performance of SimCode: time 1.704e-06/2.299, allocations: 0 / 388.6 MB, free: 12.35 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat does not exist to compare? outputFormat=mat