Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Oscillator,fileNamePrefix="Modelica_3_2_1_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.747/1.747, allocations: 171.2 MB / 178.1 MB, free: 8.285 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2444/1.992, allocations: 41.1 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1011/2.093, allocations: 38.77 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/2.436, allocations: 81.43 MB / 339.4 MB, free: 6.84 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003068/2.437, allocations: 70.45 kB / 339.5 MB, free: 6.805 MB / 282.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.2136/2.65, allocations: 53.94 MB / 393.4 MB, free: 6 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/2.65, allocations: 8 kB / 393.5 MB, free: 5.992 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004689/2.651, allocations: 197.7 kB / 393.6 MB, free: 5.797 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/2.654, allocations: 1.139 MB / 394.8 MB, free: 4.613 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.916e-05/2.654, allocations: 16 kB / 394.8 MB, free: 4.598 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/2.654, allocations: 31.94 kB / 394.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001203/2.655, allocations: 390.2 kB / 395.2 MB, free: 4.188 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/2.657, allocations: 422.2 kB / 395.6 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.064e-05/2.657, allocations: 0 / 395.6 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-05/2.657, allocations: 0 / 395.6 MB, free: 3.766 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/2.657, allocations: 19.98 kB / 395.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005846/2.663, allocations: 2.045 MB / 397.7 MB, free: 1.625 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/2.664, allocations: 429.2 kB / 398.1 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000986/2.665, allocations: 461.4 kB / 398.6 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02167/2.686, allocations: 7.701 MB / 406.3 MB, free: 7.832 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009429/2.687, allocations: 247.8 kB / 406.5 MB, free: 7.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=57): time 5.501e-06/2.687, allocations: 0 / 406.5 MB, free: 7.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.007579/2.695, allocations: 2.103 MB / 408.6 MB, free: 5.406 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.578e-05/2.695, allocations: 64.77 kB / 408.7 MB, free: 5.332 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002177/2.697, allocations: 0.9864 MB / 409.7 MB, free: 4.352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.526e-05/2.697, allocations: 25.7 kB / 409.7 MB, free: 4.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/2.698, allocations: 372.2 kB / 410 MB, free: 3.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002681/2.698, allocations: 201 kB / 410.2 MB, free: 3.75 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.375e-05/2.698, allocations: 0 / 410.2 MB, free: 3.75 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001723/2.698, allocations: 341.9 kB / 410.6 MB, free: 3.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/2.699, allocations: 157.4 kB / 410.7 MB, free: 3.258 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006427/2.699, allocations: 321.8 kB / 411 MB, free: 2.875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001233/2.701, allocations: 330.7 kB / 411.4 MB, free: 2.551 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/2.701, allocations: 7.906 kB / 411.4 MB, free: 2.543 MB / 346.7 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002965/2.704, allocations: 0.9346 MB / 412.3 MB, free: 1.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/2.704, allocations: 4 kB / 412.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/2.704, allocations: 55.98 kB / 412.4 MB, free: 1.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007197/2.705, allocations: 153.3 kB / 412.5 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/2.706, allocations: 123.8 kB / 412.6 MB, free: 1.266 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1401/2.846, allocations: 2.188 MB / 414.8 MB, free: 126.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00118/2.847, allocations: 22.55 kB / 414.9 MB, free: 126.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001606/2.847, allocations: 31.83 kB / 414.9 MB, free: 126.8 MB / 346.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.0002179/2.847, allocations: 123 kB / 415 MB, free: 126.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/2.848, allocations: 182.2 kB / 415.2 MB, free: 126.7 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/2.852, allocations: 1.019 MB / 416.2 MB, free: 126.6 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/2.852, allocations: 4.438 kB / 416.2 MB, free: 126.6 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/2.852, allocations: 4.312 kB / 416.2 MB, free: 126.6 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/2.852, allocations: 11.7 kB / 416.2 MB, free: 126.6 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001672/2.854, allocations: 0.787 MB / 417 MB, free: 126.4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000128/2.854, allocations: 53.59 kB / 417.1 MB, free: 126.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007827/2.855, allocations: 77.47 kB / 417.1 MB, free: 126.4 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006651/2.856, allocations: 143.3 kB / 417.3 MB, free: 126.4 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.294e-05/2.856, allocations: 11.31 kB / 417.3 MB, free: 126.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003883/2.86, allocations: 2.177 MB / 419.5 MB, free: 125.1 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/2.86, allocations: 2.156 kB / 419.5 MB, free: 125.1 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003443/2.863, allocations: 1.077 MB / 420.5 MB, free: 125 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004858/2.868, allocations: 1.697 MB / 422.2 MB, free: 124.4 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008469/2.869, allocations: 256.1 kB / 422.5 MB, free: 124.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003085/2.869, allocations: 3.188 kB / 422.5 MB, free: 124.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009283/2.87, allocations: 24.45 kB / 422.5 MB, free: 124.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000247/2.87, allocations: 35.44 kB / 422.6 MB, free: 124.2 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.553e-05/2.871, allocations: 28.81 kB / 422.6 MB, free: 124.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.002734/2.873, allocations: 0.7397 MB / 423.3 MB, free: 124.1 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.005351/2.879, allocations: 412.6 kB / 423.7 MB, free: 124.1 MB / 346.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.002326/2.881, allocations: 0.5908 MB / 424.3 MB, free: 124 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003074/2.884, allocations: 0.7325 MB / 425 MB, free: 123.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.895e-06/2.884, allocations: 1.281 kB / 425 MB, free: 123.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002311/2.887, allocations: 0.5262 MB / 425.6 MB, free: 123.7 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001541/2.888, allocations: 156.3 kB / 425.7 MB, free: 123.6 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006704/2.895, allocations: 1.785 MB / 427.5 MB, free: 123.1 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009144/2.896, allocations: 1.28 MB / 428.8 MB, free: 122.4 MB / 346.7 MB Notification: Performance of SimCode: time 1.313e-06/2.896, allocations: 0 / 428.8 MB, free: 122.4 MB / 346.7 MB