Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Inverter,fileNamePrefix="Modelica_3_2_2_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.747/1.747, allocations: 194.9 MB / 202.5 MB, free: 6.93 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.242/1.989, allocations: 46.83 MB / 249.3 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09569/2.085, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3163/2.401, allocations: 96.73 MB / 390.6 MB, free: 3.113 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003902/2.402, allocations: 70.75 kB / 390.6 MB, free: 3.105 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.3088/2.711, allocations: 87.03 MB / 477.7 MB, free: 9.594 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/2.711, allocations: 12 kB / 477.7 MB, free: 9.582 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004357/2.711, allocations: 197.7 kB / 477.9 MB, free: 9.387 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003437/2.715, allocations: 1.212 MB / 479.1 MB, free: 8.105 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/2.715, allocations: 11.91 kB / 479.1 MB, free: 8.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001283/2.715, allocations: 20 kB / 479.1 MB, free: 8.074 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001067/2.716, allocations: 361.2 kB / 479.5 MB, free: 7.723 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001044/2.717, allocations: 410.2 kB / 479.9 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/2.717, allocations: 0 / 479.9 MB, free: 7.301 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.226e-05/2.717, allocations: 4 kB / 479.9 MB, free: 7.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.477e-05/2.717, allocations: 11.98 kB / 479.9 MB, free: 7.285 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005609/2.723, allocations: 1.613 MB / 481.5 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/2.724, allocations: 255.2 kB / 481.7 MB, free: 5.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007564/2.724, allocations: 341.8 kB / 482.1 MB, free: 5.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02998/2.754, allocations: 18.11 MB / 0.4885 GB, free: 328 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004618/2.755, allocations: 191.3 kB / 0.4886 GB, free: 124 kB / 394.7 MB Notification: Performance of pre-optimization done (n=29): time 5.451e-06/2.755, allocations: 0 / 0.4886 GB, free: 124 kB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.1332/2.888, allocations: 469.8 kB / 0.4891 GB, free: 132.2 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.182e-05/2.888, allocations: 164.7 kB / 0.4893 GB, free: 132 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002039/2.89, allocations: 1.115 MB / 0.4903 GB, free: 131.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 8.557e-05/2.89, allocations: 29.2 kB / 0.4904 GB, free: 131.8 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/2.891, allocations: 362.1 kB / 0.4907 GB, free: 131.6 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/2.891, allocations: 89.06 kB / 0.4908 GB, free: 131.6 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.991e-05/2.891, allocations: 3.281 kB / 0.4908 GB, free: 131.6 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/2.891, allocations: 324.5 kB / 0.4911 GB, free: 131.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002964/2.891, allocations: 97.22 kB / 0.4912 GB, free: 131.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004018/2.892, allocations: 324.9 kB / 0.4915 GB, free: 131 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004063/2.892, allocations: 147 kB / 0.4917 GB, free: 131 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/2.892, allocations: 3.344 kB / 0.4917 GB, free: 131 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001416/2.893, allocations: 0.6027 MB / 0.4922 GB, free: 130.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/2.894, allocations: 3.906 kB / 0.4922 GB, free: 130.9 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.118e-05/2.894, allocations: 42.92 kB / 0.4923 GB, free: 130.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004584/2.894, allocations: 129.3 kB / 0.4924 GB, free: 130.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008131/2.895, allocations: 121.9 kB / 0.4925 GB, free: 130.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008506/2.896, allocations: 0.7023 MB / 0.4932 GB, free: 130.3 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/2.897, allocations: 84.81 kB / 0.4933 GB, free: 130.3 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.998e-05/2.897, allocations: 38.86 kB / 0.4933 GB, free: 130.3 MB / 394.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.0001811/2.897, allocations: 138.2 kB / 0.4935 GB, free: 130.2 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000218/2.898, allocations: 187.8 kB / 0.4936 GB, free: 130.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003579/2.901, allocations: 0.7797 MB / 0.4944 GB, free: 130 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/2.901, allocations: 3.469 kB / 0.4944 GB, free: 130 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/2.901, allocations: 2.938 kB / 0.4944 GB, free: 130 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/2.901, allocations: 0 / 0.4944 GB, free: 130 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/2.904, allocations: 1.159 MB / 0.4955 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-05/2.904, allocations: 37.66 kB / 0.4956 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005274/2.905, allocations: 68.5 kB / 0.4956 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003612/2.905, allocations: 125.3 kB / 0.4958 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.989e-05/2.905, allocations: 13.69 kB / 0.4958 GB, free: 129.7 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008275/2.906, allocations: 0.6967 MB / 0.4965 GB, free: 129.2 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/2.906, allocations: 3.844 kB / 0.4965 GB, free: 129.2 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00116/2.907, allocations: 0.616 MB / 0.4971 GB, free: 128.9 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001204/2.908, allocations: 1.031 MB / 0.4981 GB, free: 128.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005905/2.909, allocations: 295 kB / 0.4984 GB, free: 128 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003109/2.909, allocations: 0 / 0.4984 GB, free: 128 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009597/2.91, allocations: 42.67 kB / 0.4984 GB, free: 128 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001633/2.911, allocations: 45.7 kB / 0.4984 GB, free: 128 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.02e-05/2.911, allocations: 21.59 kB / 0.4985 GB, free: 128 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.001583/2.912, allocations: 0.8357 MB / 0.4993 GB, free: 127.9 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002925/2.915, allocations: 354.5 kB / 0.4996 GB, free: 127.9 MB / 394.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.002199/2.917, allocations: 0.7186 MB / 0.5003 GB, free: 127.8 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001972/2.919, allocations: 389.5 kB / 0.5007 GB, free: 127.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.282e-06/2.92, allocations: 2.531 kB / 0.5007 GB, free: 127.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008828/2.92, allocations: 226.9 kB / 0.5009 GB, free: 127.7 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00265/2.923, allocations: 227.4 kB / 0.5011 GB, free: 127.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006194/2.929, allocations: 1.531 MB / 0.5026 GB, free: 127.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009653/2.93, allocations: 1.259 MB / 0.5038 GB, free: 126.4 MB / 394.7 MB Notification: Performance of SimCode: time 2.524e-06/2.93, allocations: 2.344 kB / 0.5038 GB, free: 126.4 MB / 394.7 MB