Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_Oscillator",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.767/1.768, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2526/2.02, allocations: 46.84 MB / 249.3 MB, free: 5.352 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/2.114, allocations: 44.5 MB / 293.8 MB, free: 10.91 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2997/2.414, allocations: 85.26 MB / 379.1 MB, free: 6.102 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002505/2.414, allocations: 71.41 kB / 379.2 MB, free: 6.094 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.1734/2.588, allocations: 53.34 MB / 432.5 MB, free: 5.68 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/2.588, allocations: 8 kB / 432.5 MB, free: 5.672 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003961/2.588, allocations: 193.8 kB / 432.7 MB, free: 5.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002967/2.591, allocations: 1.143 MB / 433.9 MB, free: 4.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/2.591, allocations: 17.09 kB / 433.9 MB, free: 4.316 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001249/2.591, allocations: 35.89 kB / 433.9 MB, free: 4.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001194/2.593, allocations: 390.2 kB / 434.3 MB, free: 3.898 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/2.594, allocations: 418.3 kB / 434.7 MB, free: 3.484 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/2.594, allocations: 3.938 kB / 434.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.348e-05/2.594, allocations: 0 / 434.7 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-05/2.594, allocations: 16 kB / 434.7 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005175/2.599, allocations: 2.039 MB / 436.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009718/2.6, allocations: 432.3 kB / 437.2 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009363/2.601, allocations: 453.6 kB / 437.6 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01467/2.616, allocations: 7.704 MB / 445.3 MB, free: 7.602 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005984/2.616, allocations: 247.7 kB / 445.6 MB, free: 7.348 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 3.447e-06/2.616, allocations: 0 / 445.6 MB, free: 7.348 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.006753/2.623, allocations: 2.11 MB / 447.7 MB, free: 5.184 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.936e-05/2.623, allocations: 63.84 kB / 447.7 MB, free: 5.109 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002108/2.625, allocations: 0.9903 MB / 448.7 MB, free: 4.125 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.747e-05/2.626, allocations: 25.7 kB / 448.8 MB, free: 4.094 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003839/2.626, allocations: 368.3 kB / 449.1 MB, free: 3.727 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002386/2.626, allocations: 201 kB / 449.3 MB, free: 3.527 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.307e-05/2.626, allocations: 0 / 449.3 MB, free: 3.527 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/2.626, allocations: 330 kB / 449.6 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/2.627, allocations: 161.4 kB / 449.8 MB, free: 3.043 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006185/2.628, allocations: 330.7 kB / 450.1 MB, free: 2.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001221/2.629, allocations: 334.6 kB / 450.4 MB, free: 2.332 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/2.629, allocations: 0 / 450.4 MB, free: 2.332 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002847/2.632, allocations: 0.9305 MB / 451.4 MB, free: 1.391 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/2.632, allocations: 10.19 kB / 451.4 MB, free: 1.383 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001469/2.632, allocations: 55.98 kB / 451.4 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006783/2.633, allocations: 145.4 kB / 451.6 MB, free: 1.184 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009347/2.633, allocations: 127.9 kB / 451.7 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004369/2.638, allocations: 2.189 MB / 453.9 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/2.639, allocations: 31.97 kB / 453.9 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/2.639, allocations: 32 kB / 453.9 MB, free: 14.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.v.counter,v.counter,$whenCondition1,$PRE.v.T0,v.T0,$PRE.v.counter2,v.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 1 {(5,64.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002127/2.639, allocations: 124.6 kB / 454.1 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002973/2.64, allocations: 182 kB / 454.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004369/2.644, allocations: 1.028 MB / 455.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.292e-05/2.644, allocations: 4 kB / 455.3 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/2.644, allocations: 4.125 kB / 455.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/2.644, allocations: 7.984 kB / 455.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/2.646, allocations: 0.7942 MB / 456.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001369/2.646, allocations: 55.98 kB / 456.1 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006595/2.647, allocations: 67.95 kB / 456.2 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006449/2.647, allocations: 144.8 kB / 456.3 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.03e-05/2.648, allocations: 15.91 kB / 456.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004191/2.652, allocations: 2.177 MB / 458.5 MB, free: 9.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/2.652, allocations: 3.938 kB / 458.5 MB, free: 9.945 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003286/2.655, allocations: 1.085 MB / 459.6 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0039/2.659, allocations: 1.701 MB / 461.3 MB, free: 7.121 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005931/2.66, allocations: 254.8 kB / 461.6 MB, free: 6.852 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000263/2.66, allocations: 4 kB / 461.6 MB, free: 6.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007725/2.661, allocations: 23.97 kB / 461.6 MB, free: 6.824 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001586/2.661, allocations: 40.3 kB / 461.6 MB, free: 6.785 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.707e-05/2.661, allocations: 31.92 kB / 461.7 MB, free: 6.754 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.00158/2.663, allocations: 0.7448 MB / 462.4 MB, free: 6.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002419/2.665, allocations: 399.6 kB / 462.8 MB, free: 5.629 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (T1.vbe,T1.vcs,T2.vbe,T2.vcs) * Number of discrete variables: 4 ($whenCondition1,v.T0,v.counter,v.counter2) * Number of discrete states: 2 (v.counter,v.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 3 * 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: 1 {(6,50.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001345/2.666, allocations: 0.5982 MB / 463.4 MB, free: 5.074 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002171/2.669, allocations: 0.7244 MB / 464.1 MB, free: 4.332 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/2.669, allocations: 0 / 464.1 MB, free: 4.332 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/2.67, allocations: 0.5294 MB / 464.7 MB, free: 3.785 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001055/2.671, allocations: 152.5 kB / 464.8 MB, free: 3.637 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/2.676, allocations: 1.782 MB / 466.6 MB, free: 1.812 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001231/2.678, allocations: 1.275 MB / 467.9 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/2.678, allocations: 0 / 467.9 MB, free: 0.5039 MB / 362.7 MB