Running command: "" <> buildModelFMU(Modelica.Electrical.Spice3.Examples.InvertersExtendedModel,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Spice3_Examples_InvertersExtendedModel",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.674/1.674, allocations: 194.9 MB / 202.5 MB, free: 6.914 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.251/1.925, allocations: 46.82 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09603/2.021, allocations: 44.51 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3302/2.352, allocations: 97.05 MB / 390.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003972/2.352, allocations: 77.48 kB / 391 MB, free: 3.141 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.6401/2.992, allocations: 125.5 MB / 0.5044 GB, free: 78.08 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/2.992, allocations: 9.406 kB / 0.5044 GB, free: 78.08 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009216/2.993, allocations: 421.7 kB / 0.5048 GB, free: 77.87 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006688/3, allocations: 2.433 MB / 0.5071 GB, free: 77.21 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/3, allocations: 16.56 kB / 0.5072 GB, free: 77.21 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001922/3, allocations: 41.09 kB / 0.5072 GB, free: 77.2 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00172/3.002, allocations: 0.6913 MB / 0.5079 GB, free: 77.2 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/3.004, allocations: 0.7141 MB / 0.5086 GB, free: 77.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.086e-05/3.004, allocations: 3.281 kB / 0.5086 GB, free: 77.09 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001125/3.004, allocations: 0 / 0.5086 GB, free: 77.09 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.079e-05/3.004, allocations: 19.88 kB / 0.5086 GB, free: 77.09 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00917/3.013, allocations: 3.19 MB / 0.5117 GB, free: 76.59 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009903/3.014, allocations: 358.2 kB / 0.5121 GB, free: 76.57 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/3.015, allocations: 0.5369 MB / 0.5126 GB, free: 76.56 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05349/3.069, allocations: 36.06 MB / 0.5478 GB, free: 50.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009309/3.07, allocations: 301.5 kB / 0.5481 GB, free: 50.12 MB / 394.7 MB Notification: Performance of pre-optimization done (n=49): time 7.073e-06/3.07, allocations: 0 / 0.5481 GB, free: 50.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=49): time 0.002065/3.072, allocations: 0.7865 MB / 0.5489 GB, free: 49.88 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.464e-05/3.072, allocations: 274.2 kB / 0.5491 GB, free: 49.57 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004849/3.077, allocations: 2.453 MB / 0.5515 GB, free: 49.29 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001526/3.077, allocations: 29.64 kB / 0.5515 GB, free: 49.25 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005787/3.078, allocations: 0.6764 MB / 0.5522 GB, free: 48.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001964/3.078, allocations: 161.8 kB / 0.5524 GB, free: 48.89 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.542e-05/3.078, allocations: 0 / 0.5524 GB, free: 48.89 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.661e-05/3.078, allocations: 340.4 kB / 0.5527 GB, free: 48.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000487/3.078, allocations: 171 kB / 0.5528 GB, free: 48.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007094/3.079, allocations: 0.5771 MB / 0.5534 GB, free: 48.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007214/3.08, allocations: 266.8 kB / 0.5537 GB, free: 48.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/3.08, allocations: 3.531 kB / 0.5537 GB, free: 48.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002533/3.082, allocations: 1.058 MB / 0.5547 GB, free: 47.82 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/3.083, allocations: 3.719 kB / 0.5547 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001623/3.083, allocations: 79.31 kB / 0.5548 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.516e-05/3.083, allocations: 22.69 kB / 0.5548 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/3.084, allocations: 220.6 kB / 0.555 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/3.084, allocations: 27.72 kB / 0.555 GB, free: 47.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002417/3.087, allocations: 111.9 kB / 0.5551 GB, free: 47.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000202/3.087, allocations: 62.88 kB / 0.5552 GB, free: 47.77 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.0002693/3.087, allocations: 146.5 kB / 0.5553 GB, free: 47.66 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006945/3.088, allocations: 401.8 kB / 0.5557 GB, free: 47.45 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006574/3.094, allocations: 1.392 MB / 0.5571 GB, free: 47.36 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/3.094, allocations: 3.969 kB / 0.5571 GB, free: 47.36 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/3.095, allocations: 0 / 0.5571 GB, free: 47.36 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/3.095, allocations: 0 / 0.5571 GB, free: 47.36 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005364/3.1, allocations: 2.091 MB / 0.5591 GB, free: 47.01 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001526/3.1, allocations: 73.47 kB / 0.5592 GB, free: 47.01 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/3.101, allocations: 108.2 kB / 0.5593 GB, free: 47.01 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/3.101, allocations: 3.812 kB / 0.5593 GB, free: 47.01 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-05/3.101, allocations: 30.59 kB / 0.5593 GB, free: 47.01 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/3.101, allocations: 0 / 0.5593 GB, free: 47.01 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/3.101, allocations: 3.844 kB / 0.5593 GB, free: 47.01 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002729/3.104, allocations: 1.201 MB / 0.5605 GB, free: 46.55 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003503/3.108, allocations: 1.865 MB / 0.5623 GB, free: 45.72 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002082/3.11, allocations: 0.5161 MB / 0.5628 GB, free: 45.41 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00112/3.111, allocations: 7.547 kB / 0.5628 GB, free: 45.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002053/3.113, allocations: 51.38 kB / 0.5629 GB, free: 45.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000272/3.113, allocations: 56.38 kB / 0.5629 GB, free: 45.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/3.113, allocations: 36.47 kB / 0.563 GB, free: 45.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.004317/3.118, allocations: 1.822 MB / 0.5648 GB, free: 45.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.003752/3.122, allocations: 0.64 MB / 0.5654 GB, free: 45.16 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.001988/3.124, allocations: 0.9759 MB / 0.5663 GB, free: 45.01 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001631/3.125, allocations: 0.6787 MB / 0.567 GB, free: 44.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/3.125, allocations: 0 / 0.567 GB, free: 44.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007732/3.126, allocations: 394.6 kB / 0.5674 GB, free: 44.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/3.129, allocations: 0.4953 MB / 0.5679 GB, free: 44.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01123/3.141, allocations: 3.284 MB / 0.5711 GB, free: 43.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002535/3.143, allocations: 1.954 MB / 0.573 GB, free: 42.9 MB / 394.7 MB Notification: Performance of SimCode: time 2.194e-06/3.143, allocations: 0 / 0.573 GB, free: 42.9 MB / 394.7 MB