Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkMosfetCharacterization,fileNamePrefix="Modelica_3_2_1_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.905/1.905, allocations: 171.2 MB / 178.1 MB, free: 8.293 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2192/2.125, allocations: 41.11 MB / 219.3 MB, free: 11.19 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/2.229, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3492/2.578, allocations: 93.44 MB / 351.4 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004558/2.579, allocations: 67.03 kB / 351.5 MB, free: 10.83 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.5408/3.12, allocations: 72.87 MB / 424.4 MB, free: 83.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/3.12, allocations: 15.75 kB / 424.4 MB, free: 83.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003565/3.12, allocations: 116.8 kB / 424.5 MB, free: 83.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002218/3.122, allocations: 0.7658 MB / 425.3 MB, free: 82.91 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.914e-05/3.123, allocations: 7 kB / 425.3 MB, free: 82.91 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.634e-05/3.123, allocations: 12.78 kB / 425.3 MB, free: 82.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007062/3.123, allocations: 237 kB / 425.5 MB, free: 82.91 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007059/3.124, allocations: 299.5 kB / 425.8 MB, free: 82.85 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/3.124, allocations: 0 / 425.8 MB, free: 82.85 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/3.124, allocations: 3.906 kB / 425.8 MB, free: 82.84 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/3.124, allocations: 6.438 kB / 425.8 MB, free: 82.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003718/3.128, allocations: 1.237 MB / 427.1 MB, free: 82.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006324/3.129, allocations: 119.2 kB / 427.2 MB, free: 82.41 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006615/3.129, allocations: 172.3 kB / 427.4 MB, free: 82.4 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02125/3.151, allocations: 9.247 MB / 436.6 MB, free: 75.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004781/3.151, allocations: 147.6 kB / 436.7 MB, free: 75.54 MB / 346.7 MB Notification: Performance of pre-optimization done (n=19): time 5.761e-06/3.151, allocations: 0 / 436.7 MB, free: 75.54 MB / 346.7 MB Notification: Performance of matching and sorting (n=19): time 0.00123/3.152, allocations: 272.5 kB / 437 MB, free: 75.45 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/3.153, allocations: 107.6 kB / 437.1 MB, free: 75.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/3.155, allocations: 0.7053 MB / 437.8 MB, free: 75.18 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/3.155, allocations: 27.61 kB / 437.9 MB, free: 75.15 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/3.155, allocations: 262.5 kB / 438.1 MB, free: 75.01 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001387/3.155, allocations: 61.14 kB / 438.2 MB, free: 74.97 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/3.156, allocations: 0 / 438.2 MB, free: 74.97 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.474e-05/3.156, allocations: 316.8 kB / 438.5 MB, free: 74.67 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003406/3.156, allocations: 81.02 kB / 438.6 MB, free: 74.66 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000449/3.156, allocations: 204.9 kB / 438.8 MB, free: 74.48 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004464/3.157, allocations: 92.45 kB / 438.8 MB, free: 74.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.217e-06/3.157, allocations: 3.781 kB / 438.8 MB, free: 74.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00145/3.158, allocations: 369.2 kB / 439.2 MB, free: 74.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/3.159, allocations: 9.156 kB / 439.2 MB, free: 74.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.407e-05/3.159, allocations: 26.27 kB / 439.2 MB, free: 74.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.643e-05/3.159, allocations: 3.812 kB / 439.2 MB, free: 74.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/3.16, allocations: 100.8 kB / 439.3 MB, free: 74.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.723e-05/3.16, allocations: 13.81 kB / 439.4 MB, free: 74.4 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/3.161, allocations: 65.62 kB / 439.4 MB, free: 74.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/3.162, allocations: 27.03 kB / 439.5 MB, free: 74.38 MB / 346.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.0002364/3.162, allocations: 124.4 kB / 439.6 MB, free: 74.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003553/3.162, allocations: 110 kB / 439.7 MB, free: 74.21 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003132/3.165, allocations: 427.2 kB / 440.1 MB, free: 74.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/3.166, allocations: 3.969 kB / 440.1 MB, free: 74.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/3.166, allocations: 3.906 kB / 440.1 MB, free: 74.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/3.166, allocations: 3.125 kB / 440.1 MB, free: 74.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/3.167, allocations: 0.536 MB / 440.6 MB, free: 73.95 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-05/3.167, allocations: 17.06 kB / 440.7 MB, free: 73.95 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008356/3.168, allocations: 58.61 kB / 440.7 MB, free: 73.95 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.394e-05/3.168, allocations: 6.547 kB / 440.7 MB, free: 73.95 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.371e-05/3.168, allocations: 10.25 kB / 440.7 MB, free: 73.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/3.168, allocations: 3.844 kB / 440.7 MB, free: 73.95 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.684e-06/3.168, allocations: 2.688 kB / 440.7 MB, free: 73.95 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001181/3.169, allocations: 356.2 kB / 441.1 MB, free: 73.77 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001284/3.171, allocations: 0.7509 MB / 441.8 MB, free: 73.23 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007175/3.172, allocations: 203.6 kB / 442 MB, free: 73.07 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/3.172, allocations: 7.219 kB / 442 MB, free: 73.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001238/3.173, allocations: 48.39 kB / 442.1 MB, free: 73.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000229/3.173, allocations: 28.64 kB / 442.1 MB, free: 73.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.232e-05/3.174, allocations: 14.89 kB / 442.1 MB, free: 73.07 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001766/3.175, allocations: 0.5314 MB / 442.7 MB, free: 72.96 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.003271/3.179, allocations: 245.7 kB / 442.9 MB, free: 72.93 MB / 346.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.002001/3.181, allocations: 0.6258 MB / 443.5 MB, free: 72.8 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001191/3.182, allocations: 232.6 kB / 443.8 MB, free: 72.77 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/3.182, allocations: 0 / 443.8 MB, free: 72.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005349/3.183, allocations: 137.4 kB / 443.9 MB, free: 72.74 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001679/3.184, allocations: 123.2 kB / 444 MB, free: 72.73 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00516/3.19, allocations: 0.9714 MB / 445 MB, free: 72.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009788/3.191, allocations: 1.043 MB / 446 MB, free: 71.7 MB / 346.7 MB Notification: Performance of SimCode: time 2.083e-06/3.191, allocations: 0 / 446 MB, free: 71.7 MB / 346.7 MB