Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.InvertersApartRecord,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_InvertersApartRecord",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.716/1.716, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2654/1.982, allocations: 46.82 MB / 249.3 MB, free: 5.348 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/2.085, allocations: 44.51 MB / 293.8 MB, free: 10.95 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3307/2.416, allocations: 97.03 MB / 390.9 MB, free: 3.066 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002231/2.416, allocations: 74.14 kB / 390.9 MB, free: 3.055 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.6514/3.068, allocations: 123.6 MB / 0.5025 GB, free: 78.82 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.643e-05/3.068, allocations: 14.53 kB / 0.5025 GB, free: 78.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008858/3.069, allocations: 401.2 kB / 0.5029 GB, free: 78.62 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006493/3.075, allocations: 2.37 MB / 0.5052 GB, free: 77.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.165e-05/3.075, allocations: 16.41 kB / 0.5052 GB, free: 77.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/3.075, allocations: 39.12 kB / 0.5053 GB, free: 77.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001684/3.077, allocations: 0.6843 MB / 0.5059 GB, free: 77.98 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001903/3.079, allocations: 0.7149 MB / 0.5066 GB, free: 77.86 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.507e-05/3.079, allocations: 10.73 kB / 0.5067 GB, free: 77.86 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/3.079, allocations: 3.938 kB / 0.5067 GB, free: 77.86 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.437e-05/3.079, allocations: 26.11 kB / 0.5067 GB, free: 77.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01565/3.095, allocations: 3.092 MB / 0.5097 GB, free: 77.36 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009936/3.096, allocations: 354.6 kB / 0.51 GB, free: 77.35 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/3.097, allocations: 0.5325 MB / 0.5106 GB, free: 77.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05514/3.153, allocations: 36.03 MB / 0.5457 GB, free: 50.95 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006227/3.153, allocations: 296.8 kB / 0.546 GB, free: 50.89 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 3.667e-06/3.153, allocations: 0 / 0.546 GB, free: 50.89 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.002059/3.155, allocations: 0.7719 MB / 0.5468 GB, free: 50.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.529e-05/3.155, allocations: 276.8 kB / 0.547 GB, free: 50.35 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007995/3.163, allocations: 2.31 MB / 0.5493 GB, free: 50.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002157/3.164, allocations: 29.55 kB / 0.5493 GB, free: 50.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001025/3.165, allocations: 0.646 MB / 0.55 GB, free: 49.78 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004128/3.165, allocations: 167 kB / 0.5501 GB, free: 49.68 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/3.165, allocations: 6.781 kB / 0.5501 GB, free: 49.68 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001304/3.166, allocations: 338 kB / 0.5504 GB, free: 49.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000867/3.166, allocations: 171.2 kB / 0.5506 GB, free: 49.37 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001054/3.168, allocations: 0.5728 MB / 0.5512 GB, free: 48.85 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001213/3.169, allocations: 269.1 kB / 0.5514 GB, free: 48.84 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/3.169, allocations: 3.938 kB / 0.5514 GB, free: 48.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.003305/3.172, allocations: 1.038 MB / 0.5524 GB, free: 48.62 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/3.172, allocations: 7.344 kB / 0.5525 GB, free: 48.62 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001714/3.172, allocations: 83.06 kB / 0.5525 GB, free: 48.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.737e-05/3.172, allocations: 22.38 kB / 0.5526 GB, free: 48.62 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00144/3.174, allocations: 220.5 kB / 0.5528 GB, free: 48.62 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/3.174, allocations: 19.5 kB / 0.5528 GB, free: 48.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002337/3.176, allocations: 126 kB / 0.5529 GB, free: 48.56 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001695/3.176, allocations: 65.28 kB / 0.553 GB, free: 48.56 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002596/3.177, allocations: 143.5 kB / 0.5531 GB, free: 48.45 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004879/3.177, allocations: 384.6 kB / 0.5535 GB, free: 48.25 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006537/3.184, allocations: 1.371 MB / 0.5548 GB, free: 48.16 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.221e-05/3.184, allocations: 9.641 kB / 0.5548 GB, free: 48.16 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.605e-06/3.184, allocations: 5.281 kB / 0.5548 GB, free: 48.16 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/3.184, allocations: 0 / 0.5548 GB, free: 48.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004956/3.189, allocations: 1.999 MB / 0.5568 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001522/3.189, allocations: 70.56 kB / 0.5568 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001014/3.19, allocations: 107.4 kB / 0.5569 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.205e-05/3.19, allocations: 3.562 kB / 0.5569 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.536e-05/3.19, allocations: 32.03 kB / 0.557 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/3.19, allocations: 0 / 0.557 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.513e-06/3.19, allocations: 10.69 kB / 0.557 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002455/3.193, allocations: 1.171 MB / 0.5581 GB, free: 47.38 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00342/3.196, allocations: 1.848 MB / 0.5599 GB, free: 46.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002091/3.198, allocations: 0.5505 MB / 0.5605 GB, free: 46.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000846/3.199, allocations: 16.78 kB / 0.5605 GB, free: 46.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001644/3.201, allocations: 44.83 kB / 0.5605 GB, free: 46.18 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002379/3.201, allocations: 53.12 kB / 0.5606 GB, free: 46.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001114/3.201, allocations: 38.73 kB / 0.5606 GB, free: 46.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.00379/3.205, allocations: 1.719 MB / 0.5623 GB, free: 46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005222/3.21, allocations: 0.6315 MB / 0.5629 GB, free: 45.93 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (c1.vinternal,c2.vinternal) * 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 (42): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00307/3.214, allocations: 0.9247 MB / 0.5638 GB, free: 45.79 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002611/3.216, allocations: 0.6787 MB / 0.5645 GB, free: 45.66 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/3.216, allocations: 0 / 0.5645 GB, free: 45.66 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001342/3.218, allocations: 396.1 kB / 0.5649 GB, free: 45.53 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004485/3.222, allocations: 483.9 kB / 0.5653 GB, free: 45.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/3.236, allocations: 3.145 MB / 0.5684 GB, free: 44.52 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004337/3.241, allocations: 1.904 MB / 0.5703 GB, free: 43.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.713e-06/3.241, allocations: 0 / 0.5703 GB, free: 43.79 MB / 394.7 MB