Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Inverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Inverter",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.825/1.825, allocations: 171.2 MB / 178.1 MB, free: 8.266 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2577/2.083, allocations: 41.11 MB / 219.2 MB, free: 11.15 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/2.19, allocations: 38.77 MB / 258 MB, free: 4.324 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3464/2.537, allocations: 93.21 MB / 351.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004075/2.537, allocations: 71.95 kB / 351.3 MB, free: 11.07 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.5638/3.101, allocations: 88.55 MB / 439.8 MB, free: 66.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/3.101, allocations: 11.81 kB / 439.9 MB, free: 66.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005857/3.102, allocations: 191.3 kB / 440 MB, free: 66.86 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004414/3.106, allocations: 1.222 MB / 441.3 MB, free: 66.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.7e-05/3.106, allocations: 10.78 kB / 441.3 MB, free: 66.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001643/3.106, allocations: 21.75 kB / 441.3 MB, free: 66.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001307/3.108, allocations: 367.7 kB / 441.7 MB, free: 66.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/3.109, allocations: 404.6 kB / 442 MB, free: 66.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/3.109, allocations: 0 / 442 MB, free: 66.34 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.46e-05/3.109, allocations: 7.891 kB / 442.1 MB, free: 66.34 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/3.109, allocations: 7.062 kB / 442.1 MB, free: 66.34 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005981/3.115, allocations: 1.606 MB / 443.7 MB, free: 65.97 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008218/3.116, allocations: 262.9 kB / 443.9 MB, free: 65.94 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009184/3.117, allocations: 338.6 kB / 444.3 MB, free: 65.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03166/3.149, allocations: 18.11 MB / 462.4 MB, free: 52.55 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005606/3.149, allocations: 194.7 kB / 462.6 MB, free: 52.49 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 3.918e-06/3.149, allocations: 0 / 462.6 MB, free: 52.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.001706/3.151, allocations: 479.8 kB / 463 MB, free: 52.35 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.343e-05/3.151, allocations: 158.2 kB / 463.2 MB, free: 52.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/3.154, allocations: 1.118 MB / 464.3 MB, free: 51.95 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000118/3.154, allocations: 25.7 kB / 464.3 MB, free: 51.92 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003673/3.154, allocations: 363.9 kB / 464.7 MB, free: 51.76 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/3.155, allocations: 87.06 kB / 464.8 MB, free: 51.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.483e-05/3.155, allocations: 0 / 464.8 MB, free: 51.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.527e-05/3.155, allocations: 326.8 kB / 465.1 MB, free: 51.4 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004035/3.155, allocations: 97.56 kB / 465.2 MB, free: 51.4 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005592/3.156, allocations: 320.3 kB / 465.5 MB, free: 51.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005564/3.156, allocations: 148.9 kB / 465.6 MB, free: 51.1 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/3.156, allocations: 0 / 465.6 MB, free: 51.1 MB / 346.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001991/3.158, allocations: 0.6033 MB / 466.2 MB, free: 50.93 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/3.158, allocations: 7.781 kB / 466.2 MB, free: 50.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/3.158, allocations: 42.38 kB / 466.3 MB, free: 50.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005683/3.159, allocations: 138.2 kB / 466.4 MB, free: 50.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/3.16, allocations: 120.8 kB / 466.5 MB, free: 50.9 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001085/3.161, allocations: 0.7045 MB / 467.2 MB, free: 50.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/3.163, allocations: 78.09 kB / 467.3 MB, free: 50.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/3.163, allocations: 34 kB / 467.4 MB, free: 50.34 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.vin.counter,vin.counter,$PRE.v.counter,v.counter,$whenCondition2,$whenCondition1,$PRE.vin.T0,vin.T0,$PRE.vin.counter2,vin.counter2,$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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * 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 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0002355/3.163, allocations: 132 kB / 467.5 MB, free: 50.22 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003672/3.164, allocations: 184.2 kB / 467.7 MB, free: 50.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004705/3.168, allocations: 0.7821 MB / 468.4 MB, free: 49.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.375e-05/3.169, allocations: 2.656 kB / 468.4 MB, free: 49.92 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/3.169, allocations: 1.344 kB / 468.4 MB, free: 49.92 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/3.169, allocations: 0 / 468.4 MB, free: 49.92 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003119/3.172, allocations: 1.164 MB / 469.6 MB, free: 49.6 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.625e-05/3.172, allocations: 34.72 kB / 469.6 MB, free: 49.6 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005838/3.172, allocations: 66.55 kB / 469.7 MB, free: 49.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/3.173, allocations: 127.1 kB / 469.8 MB, free: 49.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.356e-05/3.173, allocations: 12.84 kB / 469.8 MB, free: 49.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008953/3.174, allocations: 0.6981 MB / 470.5 MB, free: 49.05 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/3.174, allocations: 5.844 kB / 470.6 MB, free: 49.05 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001425/3.175, allocations: 0.6188 MB / 471.2 MB, free: 48.73 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003009/3.178, allocations: 1.031 MB / 472.2 MB, free: 48.04 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008389/3.179, allocations: 287.6 kB / 472.5 MB, free: 47.85 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000349/3.18, allocations: 9.344 kB / 472.5 MB, free: 47.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/3.181, allocations: 41.94 kB / 472.5 MB, free: 47.84 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002169/3.181, allocations: 40.56 kB / 472.6 MB, free: 47.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-05/3.181, allocations: 24.61 kB / 472.6 MB, free: 47.84 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.001898/3.183, allocations: 0.8378 MB / 473.4 MB, free: 47.69 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002739/3.186, allocations: 355 kB / 473.8 MB, free: 47.65 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,vin.T0,vin.counter,vin.counter2,v.T0,v.counter,v.counter2) * Number of discrete states: 4 (vin.counter2,v.counter2,vin.counter,v.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001631/3.187, allocations: 0.7078 MB / 474.5 MB, free: 47.49 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00142/3.189, allocations: 390.2 kB / 474.9 MB, free: 47.4 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/3.189, allocations: 0 / 474.9 MB, free: 47.4 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006733/3.19, allocations: 222.4 kB / 475.1 MB, free: 47.33 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001686/3.191, allocations: 234.5 kB / 475.3 MB, free: 47.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005505/3.197, allocations: 1.535 MB / 476.9 MB, free: 46.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/3.198, allocations: 1.273 MB / 478.1 MB, free: 46.05 MB / 346.7 MB Notification: Performance of SimCode: time 1.823e-06/3.198, allocations: 0 / 478.1 MB, free: 46.05 MB / 346.7 MB