Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.SimpleTriacCircuit,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Analog_Examples_SimpleTriacCircuit",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.637/1.637, allocations: 194.9 MB / 202.5 MB, free: 6.887 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2612/1.899, allocations: 46.84 MB / 249.3 MB, free: 5.301 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/2, allocations: 44.5 MB / 293.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3029/2.303, allocations: 75.11 MB / 369 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/2.304, allocations: 72.5 kB / 369 MB, free: 7.184 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.06049/2.364, allocations: 8.883 MB / 377.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/2.364, allocations: 11.53 kB / 377.9 MB, free: 5.688 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000366/2.365, allocations: 54.53 kB / 378 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001035/2.366, allocations: 376.4 kB / 378.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.392e-05/2.366, allocations: 18.69 kB / 378.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/2.366, allocations: 19.28 kB / 378.4 MB, free: 5.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001709/2.368, allocations: 361.2 kB / 378.7 MB, free: 5.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00156/2.369, allocations: 405.2 kB / 379.1 MB, free: 5.227 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/2.369, allocations: 5.031 kB / 379.1 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001109/2.37, allocations: 0 / 379.1 MB, free: 5.223 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.879e-05/2.37, allocations: 19.73 kB / 379.2 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008059/2.378, allocations: 1.978 MB / 381.1 MB, free: 4.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007022/2.378, allocations: 250.5 kB / 381.4 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/2.379, allocations: 244.2 kB / 381.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.013e-05/2.379, allocations: 7.297 kB / 381.6 MB, free: 4.051 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006142/2.38, allocations: 276.6 kB / 381.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 3.276e-06/2.38, allocations: 3.844 kB / 381.9 MB, free: 3.941 MB / 298.7 MB Notification: Performance of matching and sorting (n=39): time 0.002017/2.382, allocations: 0.5074 MB / 382.4 MB, free: 3.828 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/2.382, allocations: 80.95 kB / 382.5 MB, free: 3.734 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/2.382, allocations: 287.6 kB / 382.8 MB, free: 3.613 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/2.382, allocations: 29.58 kB / 382.8 MB, free: 19.58 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001983/2.383, allocations: 179.2 kB / 383 MB, free: 19.43 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002153/2.383, allocations: 128.9 kB / 383.1 MB, free: 19.33 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.644e-05/2.383, allocations: 0 / 383.1 MB, free: 19.33 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002237/2.383, allocations: 353.4 kB / 383.4 MB, free: 19 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/2.384, allocations: 157.9 kB / 383.6 MB, free: 19 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004928/2.384, allocations: 194.8 kB / 383.8 MB, free: 18.96 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004414/2.385, allocations: 149.6 kB / 383.9 MB, free: 18.95 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/2.385, allocations: 0 / 383.9 MB, free: 18.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001802/2.387, allocations: 0.5341 MB / 384.5 MB, free: 18.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/2.387, allocations: 7.75 kB / 384.5 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.145e-05/2.387, allocations: 7.891 kB / 384.5 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001493/2.388, allocations: 324.5 kB / 384.8 MB, free: 18.76 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/2.389, allocations: 113.6 kB / 384.9 MB, free: 18.72 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/2.402, allocations: 2.832 MB / 387.7 MB, free: 17.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/2.403, allocations: 108.9 kB / 387.8 MB, free: 17.14 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/2.403, allocations: 10.84 kB / 387.9 MB, free: 17.14 MB / 314.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: simpleTriac.thyristor.vGK:VARIABLE() "voltage between gate and cathode" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,$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 (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002628/2.404, allocations: 115.9 kB / 388 MB, free: 17.03 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/2.404, allocations: 38.91 kB / 388 MB, free: 17.01 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/2.404, allocations: 51.98 kB / 388.1 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.184e-06/2.404, allocations: 7.969 kB / 388.1 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/2.404, allocations: 0 / 388.1 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/2.404, allocations: 3.984 kB / 388.1 MB, free: 16.98 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009897/2.405, allocations: 0.523 MB / 388.6 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/2.405, allocations: 0 / 388.6 MB, free: 16.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001447/2.406, allocations: 96.31 kB / 388.7 MB, free: 16.66 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002396/2.409, allocations: 334.7 kB / 389 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/2.409, allocations: 4 kB / 389 MB, free: 16.58 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01818/2.427, allocations: 2.83 MB / 391.8 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/2.427, allocations: 4 kB / 391.9 MB, free: 15.04 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002625/2.43, allocations: 0.7972 MB / 392.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003268/2.433, allocations: 1.425 MB / 394.1 MB, free: 14.34 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003144/2.434, allocations: 171.1 kB / 394.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/2.434, allocations: 7.938 kB / 394.2 MB, free: 14.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001209/2.435, allocations: 85.95 kB / 394.3 MB, free: 14.17 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001594/2.435, allocations: 38.38 kB / 394.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/2.435, allocations: 11.19 kB / 394.4 MB, free: 14.15 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.0003553/2.436, allocations: 227.8 kB / 394.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001619/2.437, allocations: 155 kB / 394.8 MB, free: 14.04 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (L.i,simpleTriac.thyristor.vControl,simpleTriac.thyristor1.vControl) * Number of discrete variables: 5 ($whenCondition1,simpleTriac.idealDiode.off,simpleTriac.idealDiode1.off,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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002397/2.437, allocations: 119.7 kB / 394.9 MB, free: 13.94 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002043/2.44, allocations: 0.5613 MB / 395.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/2.44, allocations: 0 / 395.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001533/2.441, allocations: 372.5 kB / 395.8 MB, free: 13.63 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/2.442, allocations: 49.52 kB / 395.8 MB, free: 13.62 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007772/2.45, allocations: 0.8067 MB / 396.7 MB, free: 13.24 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001096/2.451, allocations: 0.8697 MB / 397.5 MB, free: 12.45 MB / 314.7 MB Notification: Performance of SimCode: time 1.533e-06/2.451, allocations: 0 / 397.5 MB, free: 12.45 MB / 314.7 MB