Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.Spice3BenchmarkRtlInverter,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Spice3_Examples_Spice3BenchmarkRtlInverter",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.835/1.835, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.226/2.062, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1029/2.164, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3594/2.524, allocations: 81.45 MB / 339.5 MB, free: 6.844 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003724/2.524, allocations: 70.34 kB / 339.5 MB, free: 6.809 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: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.1756/2.7, allocations: 42.73 MB / 382.3 MB, free: 1.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.722e-05/2.7, allocations: 12 kB / 382.3 MB, free: 1.176 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005148/2.701, allocations: 118.6 kB / 382.4 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002304/2.703, allocations: 0.7197 MB / 383.1 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.185e-05/2.703, allocations: 8 kB / 383.1 MB, free: 284 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.039e-05/2.703, allocations: 16 kB / 383.1 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007145/2.704, allocations: 217.2 kB / 383.3 MB, free: 52 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007038/2.705, allocations: 248.9 kB / 383.6 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/2.705, allocations: 4 kB / 383.6 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/2.705, allocations: 3.938 kB / 383.6 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.396e-05/2.705, allocations: 8 kB / 383.6 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003573/2.708, allocations: 1.334 MB / 384.9 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006524/2.709, allocations: 222.9 kB / 385.2 MB, free: 14.14 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004797/2.709, allocations: 200.8 kB / 385.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008082/2.718, allocations: 4.211 MB / 389.6 MB, free: 9.078 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003824/2.718, allocations: 156.3 kB / 389.7 MB, free: 8.914 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.617e-06/2.718, allocations: 0 / 389.7 MB, free: 8.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001473/2.719, allocations: 402.5 kB / 390.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/2.72, allocations: 63.59 kB / 390.2 MB, free: 8.434 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001427/2.721, allocations: 0.6453 MB / 390.8 MB, free: 7.773 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.226e-05/2.721, allocations: 25.7 kB / 390.8 MB, free: 7.742 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/2.721, allocations: 260.3 kB / 391.1 MB, free: 7.484 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/2.722, allocations: 90.66 kB / 391.2 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.631e-05/2.722, allocations: 0 / 391.2 MB, free: 7.395 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001351/2.722, allocations: 322 kB / 391.5 MB, free: 7.074 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002659/2.722, allocations: 80.77 kB / 391.6 MB, free: 6.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003615/2.722, allocations: 187.8 kB / 391.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/2.723, allocations: 152.6 kB / 391.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.92e-06/2.723, allocations: 4 kB / 391.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001485/2.725, allocations: 497.5 kB / 392.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/2.725, allocations: 4 kB / 392.4 MB, free: 6.109 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.333e-05/2.725, allocations: 32.44 kB / 392.4 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003165/2.725, allocations: 57.69 kB / 392.5 MB, free: 6.016 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/2.726, allocations: 83.81 kB / 392.6 MB, free: 5.934 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/2.729, allocations: 2.543 MB / 395.1 MB, free: 3.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007817/2.73, allocations: 43.78 kB / 395.2 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.681e-05/2.73, allocations: 20 kB / 395.2 MB, free: 3.094 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.VIN.counter,VIN.counter,$whenCondition1,$PRE.VIN.T0,VIN.T0,$PRE.VIN.counter2,VIN.counter2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 33 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001761/2.73, allocations: 121.1 kB / 395.3 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001744/2.73, allocations: 110.7 kB / 395.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002242/2.732, allocations: 0.5053 MB / 395.9 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/2.732, allocations: 0 / 395.9 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/2.732, allocations: 7.938 kB / 395.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/2.732, allocations: 0 / 395.9 MB, free: 2.332 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/2.733, allocations: 0.5148 MB / 396.4 MB, free: 1.777 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-05/2.734, allocations: 31.98 kB / 396.5 MB, free: 1.746 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005392/2.734, allocations: 55.95 kB / 396.5 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002591/2.734, allocations: 49.62 kB / 396.6 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/2.734, allocations: 8 kB / 396.6 MB, free: 1.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002749/2.737, allocations: 2.54 MB / 399.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/2.737, allocations: 0 / 399.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001754/2.739, allocations: 0.5572 MB / 399.7 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002139/2.741, allocations: 1.065 MB / 400.7 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/2.742, allocations: 191.8 kB / 400.9 MB, free: 12.98 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/2.742, allocations: 3.906 kB / 400.9 MB, free: 12.97 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000535/2.742, allocations: 15.98 kB / 400.9 MB, free: 12.96 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001502/2.743, allocations: 32.02 kB / 401 MB, free: 12.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/2.743, allocations: 8 kB / 401 MB, free: 12.92 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.00129/2.744, allocations: 0.4996 MB / 401.5 MB, free: 12.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002342/2.746, allocations: 263.6 kB / 401.7 MB, free: 12.15 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (Q1.vbe,Q1.vbc) * Number of discrete variables: 4 ($whenCondition1,VIN.T0,VIN.counter,VIN.counter2) * Number of discrete states: 2 (VIN.counter,VIN.counter2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001294/2.748, allocations: 0.5004 MB / 402.2 MB, free: 11.65 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001953/2.75, allocations: 497.1 kB / 402.7 MB, free: 11.14 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/2.75, allocations: 3.938 kB / 402.7 MB, free: 11.13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001273/2.751, allocations: 394 kB / 403.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001315/2.752, allocations: 84.41 kB / 403.2 MB, free: 10.64 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005919/2.758, allocations: 1.049 MB / 404.2 MB, free: 9.559 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001716/2.76, allocations: 1.032 MB / 405.3 MB, free: 8.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/2.76, allocations: 3.938 kB / 405.3 MB, free: 8.496 MB / 346.7 MB