Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.INV3S,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_INV3S",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.979/1.979, allocations: 194.9 MB / 202.5 MB, free: 6.844 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2402/2.22, allocations: 46.83 MB / 249.3 MB, free: 5.34 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/2.326, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3613/2.687, allocations: 76.84 MB / 370.7 MB, free: 7.07 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000319/2.688, allocations: 67.39 kB / 370.8 MB, free: 7.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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.09906/2.787, allocations: 27.86 MB / 398.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/2.787, allocations: 9.469 kB / 398.6 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/2.787, allocations: 37.47 kB / 398.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/2.788, allocations: 268.9 kB / 398.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/2.788, allocations: 4.906 kB / 398.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.312e-05/2.788, allocations: 6.594 kB / 398.9 MB, free: 15.32 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002157/2.788, allocations: 66.56 kB / 399 MB, free: 15.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003487/2.788, allocations: 140.6 kB / 399.1 MB, free: 15.25 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/2.788, allocations: 3.984 kB / 399.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.388e-05/2.788, allocations: 2.969 kB / 399.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/2.788, allocations: 1.375 kB / 399.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/2.789, allocations: 466.3 kB / 399.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/2.79, allocations: 99.61 kB / 399.7 MB, free: 14.89 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001967/2.79, allocations: 81.53 kB / 399.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/2.79, allocations: 5.047 kB / 399.8 MB, free: 14.88 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/2.79, allocations: 208.2 kB / 400 MB, free: 14.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.106e-06/2.79, allocations: 0 / 400 MB, free: 14.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0006413/2.791, allocations: 226.6 kB / 400.2 MB, free: 14.64 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/2.791, allocations: 163.8 kB / 400.4 MB, free: 14.46 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008569/2.792, allocations: 451.5 kB / 400.8 MB, free: 14.23 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.387e-05/2.792, allocations: 29.64 kB / 400.8 MB, free: 14.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/2.792, allocations: 94.09 kB / 400.9 MB, free: 14.12 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.618e-05/2.792, allocations: 28.58 kB / 401 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/2.792, allocations: 3.156 kB / 401 MB, free: 14.1 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/2.792, allocations: 332.4 kB / 401.3 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/2.793, allocations: 62.06 kB / 401.3 MB, free: 13.77 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001758/2.793, allocations: 60.64 kB / 401.4 MB, free: 13.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/2.793, allocations: 47.94 kB / 401.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/2.793, allocations: 112 / 401.4 MB, free: 13.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005647/2.794, allocations: 207 kB / 401.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/2.794, allocations: 4.125 kB / 401.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/2.794, allocations: 0 / 401.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.124e-05/2.794, allocations: 1.375 kB / 401.7 MB, free: 13.69 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.866e-05/2.794, allocations: 12.59 kB / 401.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/2.794, allocations: 3.906 kB / 401.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002692/2.794, allocations: 13.64 kB / 401.7 MB, free: 13.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/2.794, allocations: 114.1 kB / 401.8 MB, free: 13.66 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,$PRE.iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.x,$PRE.iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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.0002659/2.794, allocations: 238.6 kB / 402 MB, free: 13.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.022e-05/2.795, allocations: 39.38 kB / 402.1 MB, free: 13.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/2.795, allocations: 66.42 kB / 402.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/2.795, allocations: 9.094 kB / 402.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/2.795, allocations: 0 / 402.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/2.795, allocations: 1.281 kB / 402.1 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001102/2.796, allocations: 0.5904 MB / 402.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/2.796, allocations: 0.9375 kB / 402.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.626e-06/2.796, allocations: 0 / 402.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/2.796, allocations: 1.219 kB / 402.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.109e-05/2.796, allocations: 23.39 kB / 402.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/2.796, allocations: 0 / 402.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/2.796, allocations: 1.562 kB / 402.8 MB, free: 12.97 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006452/2.797, allocations: 352 kB / 403.1 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007965/2.798, allocations: 0.71 MB / 403.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006171/2.798, allocations: 259.3 kB / 404.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/2.798, allocations: 9.938 kB / 404.1 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002975/2.799, allocations: 21.83 kB / 404.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/2.799, allocations: 31 kB / 404.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001942/2.799, allocations: 129.9 kB / 404.3 MB, free: 12.01 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.000706/2.8, allocations: 369.9 kB / 404.6 MB, free: 11.83 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001418/2.801, allocations: 37.19 kB / 404.7 MB, free: 11.83 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,iNV3S.nextstate,iNV3S.yy,iNV3S.inertialDelaySensitive.x,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.y_old,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,iNV3S.yy,iNV3S.nextstate,iNV3S.inertialDelaySensitive.y,iNV3S.inertialDelaySensitive.y_auxiliary,iNV3S.inertialDelaySensitive.t_next,iNV3S.inertialDelaySensitive.delayTime,iNV3S.inertialDelaySensitive.lh,iNV3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,iNV3S.inertialDelaySensitive.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000252/2.801, allocations: 121.6 kB / 404.8 MB, free: 11.73 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006214/2.802, allocations: 274.8 kB / 405 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/2.802, allocations: 0 / 405 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003989/2.802, allocations: 271.6 kB / 405.3 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009326/2.803, allocations: 99.89 kB / 405.4 MB, free: 11.41 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/2.805, allocations: 0.5173 MB / 405.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007247/2.806, allocations: 0.8165 MB / 406.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of SimCode: time 1.212e-06/2.806, allocations: 4 kB / 406.7 MB, free: 10.39 MB / 314.7 MB