Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkMosfetCharacterization",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.645/1.645, allocations: 194.9 MB / 202.5 MB, free: 6.918 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2116/1.857, allocations: 46.83 MB / 249.3 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08862/1.946, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2951/2.241, allocations: 96.95 MB / 390.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002539/2.241, allocations: 68.91 kB / 390.9 MB, free: 3.156 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.2399/2.481, allocations: 71.63 MB / 462.5 MB, free: 9.105 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/2.481, allocations: 8 kB / 462.5 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/2.481, allocations: 114.6 kB / 462.6 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/2.483, allocations: 0.7639 MB / 463.4 MB, free: 8.168 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/2.483, allocations: 11.94 kB / 463.4 MB, free: 8.156 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.652e-05/2.483, allocations: 15.91 kB / 463.4 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007337/2.484, allocations: 237.1 kB / 463.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007683/2.485, allocations: 303.6 kB / 463.9 MB, free: 7.594 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/2.485, allocations: 3.938 kB / 463.9 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.291e-05/2.485, allocations: 0 / 463.9 MB, free: 7.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.941e-05/2.485, allocations: 11.98 kB / 463.9 MB, free: 7.578 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003376/2.489, allocations: 1.217 MB / 465.2 MB, free: 6.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003848/2.489, allocations: 121.9 kB / 465.3 MB, free: 6.172 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004432/2.489, allocations: 173.1 kB / 465.5 MB, free: 6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01499/2.504, allocations: 9.237 MB / 474.7 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003541/2.505, allocations: 143.4 kB / 474.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=19): time 3.577e-06/2.505, allocations: 0 / 474.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=19): time 0.0007997/2.506, allocations: 260.3 kB / 475.1 MB, free: 11.04 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/2.506, allocations: 122.7 kB / 475.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001428/2.507, allocations: 0.7048 MB / 475.9 MB, free: 10.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.008e-05/2.507, allocations: 29.7 kB / 475.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002617/2.508, allocations: 268.2 kB / 476.2 MB, free: 9.879 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.403e-05/2.508, allocations: 51.3 kB / 476.2 MB, free: 9.828 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.782e-05/2.508, allocations: 4 kB / 476.3 MB, free: 9.824 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001405/2.508, allocations: 317.9 kB / 476.6 MB, free: 9.508 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002278/2.508, allocations: 68 kB / 476.6 MB, free: 9.441 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003646/2.508, allocations: 231.5 kB / 476.9 MB, free: 9.145 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003106/2.509, allocations: 95.52 kB / 476.9 MB, free: 9.055 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/2.509, allocations: 0 / 476.9 MB, free: 9.055 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001025/2.51, allocations: 368 kB / 477.3 MB, free: 8.688 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/2.51, allocations: 10.03 kB / 477.3 MB, free: 8.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.163e-05/2.51, allocations: 24 kB / 477.3 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.847e-05/2.51, allocations: 8.625 kB / 477.4 MB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007805/2.511, allocations: 103.9 kB / 477.5 MB, free: 8.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/2.511, allocations: 11.84 kB / 477.5 MB, free: 8.535 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000858/2.512, allocations: 63.7 kB / 477.5 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/2.512, allocations: 24 kB / 477.5 MB, free: 8.449 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.VDS.counter,VDS.counter,$PRE.VGS.counter,VGS.counter,$whenCondition2,$whenCondition1,$PRE.VDS.T0,VDS.T0,$PRE.VDS.counter2,VDS.counter2,$PRE.VGS.T0,VGS.T0,$PRE.VGS.counter2,VGS.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001654/2.512, allocations: 116.9 kB / 477.7 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/2.512, allocations: 114.6 kB / 477.8 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00203/2.514, allocations: 443.2 kB / 478.2 MB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/2.514, allocations: 4 kB / 478.2 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/2.514, allocations: 0 / 478.2 MB, free: 7.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/2.514, allocations: 4 kB / 478.2 MB, free: 7.766 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/2.515, allocations: 0.5312 MB / 478.7 MB, free: 7.188 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.817e-05/2.515, allocations: 16 kB / 478.8 MB, free: 7.172 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005486/2.516, allocations: 59.95 kB / 478.8 MB, free: 7.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-05/2.516, allocations: 4 kB / 478.8 MB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.158e-05/2.516, allocations: 7.984 kB / 478.8 MB, free: 7.102 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/2.516, allocations: 4 kB / 478.8 MB, free: 7.098 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/2.516, allocations: 3.906 kB / 478.8 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007645/2.517, allocations: 352.9 kB / 479.2 MB, free: 6.715 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009174/2.518, allocations: 0.7504 MB / 479.9 MB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004336/2.518, allocations: 199.7 kB / 480.1 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/2.518, allocations: 11.97 kB / 480.1 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000692/2.519, allocations: 35.97 kB / 480.2 MB, free: 5.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001396/2.519, allocations: 31.95 kB / 480.2 MB, free: 5.637 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.197e-05/2.519, allocations: 23.98 kB / 480.2 MB, free: 5.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.001107/2.52, allocations: 0.5296 MB / 480.8 MB, free: 5.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001915/2.522, allocations: 251.7 kB / 481 MB, free: 4.832 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,$whenCondition1,VDS.T0,VDS.counter,VDS.counter2,VGS.T0,VGS.counter,VGS.counter2) * Number of discrete states: 4 (VGS.counter,VDS.counter,VGS.counter2,VDS.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001301/2.524, allocations: 0.6207 MB / 481.6 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007207/2.524, allocations: 237.4 kB / 481.9 MB, free: 3.965 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/2.524, allocations: 4 kB / 481.9 MB, free: 3.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003632/2.525, allocations: 126.9 kB / 482 MB, free: 3.832 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009121/2.526, allocations: 132.7 kB / 482.1 MB, free: 3.699 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003145/2.529, allocations: 0.9697 MB / 483.1 MB, free: 2.688 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008884/2.53, allocations: 1.038 MB / 484.1 MB, free: 1.621 MB / 378.7 MB Notification: Performance of SimCode: time 1.392e-06/2.53, allocations: 4 kB / 484.1 MB, free: 1.617 MB / 378.7 MB