Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREG,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DFFREG",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 2.211/2.211, allocations: 194.9 MB / 202.5 MB, free: 6.922 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2651/2.476, allocations: 46.82 MB / 249.3 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/2.597, allocations: 44.51 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3699/2.967, allocations: 77.14 MB / 371 MB, free: 7.121 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/2.967, allocations: 63.34 kB / 371 MB, free: 7.121 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.1003/3.067, allocations: 28.26 MB / 399.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/3.067, allocations: 9.438 kB / 399.3 MB, free: 14.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002458/3.068, allocations: 92.06 kB / 399.4 MB, free: 14.56 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/3.069, allocations: 430.9 kB / 399.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.886e-05/3.069, allocations: 13.84 kB / 399.8 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/3.069, allocations: 26.02 kB / 399.9 MB, free: 14.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009149/3.07, allocations: 354.1 kB / 400.2 MB, free: 14.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/3.071, allocations: 0.4934 MB / 400.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/3.071, allocations: 0.9062 kB / 400.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.64e-05/3.071, allocations: 12.39 kB / 400.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.764e-05/3.071, allocations: 2.094 kB / 400.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002221/3.073, allocations: 0.8513 MB / 401.6 MB, free: 13.61 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001018/3.075, allocations: 0.4941 MB / 402.1 MB, free: 13.54 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009141/3.075, allocations: 0.4899 MB / 402.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.091e-05/3.076, allocations: 6.203 kB / 402.6 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001116/3.077, allocations: 0.6155 MB / 403.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 3.647e-06/3.077, allocations: 1.188 kB / 403.2 MB, free: 13.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.002047/3.079, allocations: 0.7702 MB / 404 MB, free: 13.01 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002517/3.079, allocations: 278.5 kB / 404.2 MB, free: 12.72 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/3.082, allocations: 1.003 MB / 405.2 MB, free: 12.31 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002669/3.082, allocations: 40.14 kB / 405.3 MB, free: 12.28 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/3.082, allocations: 122.2 kB / 405.4 MB, free: 12.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002011/3.082, allocations: 80.39 kB / 405.5 MB, free: 12.13 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.226e-05/3.083, allocations: 10.31 kB / 405.5 MB, free: 12.13 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/3.083, allocations: 343.1 kB / 405.8 MB, free: 11.8 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/3.084, allocations: 347.4 kB / 406.1 MB, free: 11.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009016/3.085, allocations: 353.8 kB / 406.5 MB, free: 11.71 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/3.085, allocations: 239.3 kB / 406.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.065e-06/3.085, allocations: 3.984 kB / 406.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00189/3.087, allocations: 0.7436 MB / 407.5 MB, free: 11.4 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/3.087, allocations: 14.12 kB / 407.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/3.087, allocations: 0 / 407.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/3.087, allocations: 0 / 407.5 MB, free: 11.39 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.132e-05/3.087, allocations: 3.938 kB / 407.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/3.087, allocations: 4 kB / 407.5 MB, free: 11.38 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006277/3.088, allocations: 31.88 kB / 407.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000274/3.088, allocations: 151.3 kB / 407.7 MB, free: 11.2 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: 40 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].x,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].x,$PRE.dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREG.dFFR.reset,dFFREG.dFFR.reset,$PRE.dFFREG.dFFR.clock,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 7 * 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.0005707/3.089, allocations: 409.6 kB / 408.1 MB, free: 10.78 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002391/3.089, allocations: 94.98 kB / 408.2 MB, free: 10.69 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006015/3.09, allocations: 141.4 kB / 408.3 MB, free: 10.57 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/3.09, allocations: 7.906 kB / 408.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/3.09, allocations: 0 / 408.3 MB, free: 10.56 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/3.09, allocations: 3.984 kB / 408.3 MB, free: 10.55 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/3.093, allocations: 1.483 MB / 409.8 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/3.093, allocations: 4 kB / 409.8 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.651e-05/3.093, allocations: 3.938 kB / 409.8 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.596e-06/3.093, allocations: 0 / 409.8 MB, free: 9.352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001671/3.094, allocations: 38.11 kB / 409.8 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/3.094, allocations: 0 / 409.8 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/3.094, allocations: 0 / 409.8 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002209/3.096, allocations: 0.9467 MB / 410.8 MB, free: 8.559 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002367/3.098, allocations: 1.323 MB / 412.1 MB, free: 7.418 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/3.1, allocations: 0.5736 MB / 412.7 MB, free: 6.984 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000593/3.101, allocations: 65.33 kB / 412.8 MB, free: 6.938 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001019/3.102, allocations: 35.27 kB / 412.8 MB, free: 6.906 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001092/3.103, allocations: 243 kB / 413 MB, free: 6.723 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005006/3.104, allocations: 157.4 kB / 413.2 MB, free: 6.574 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.003511/3.107, allocations: 0.8306 MB / 414 MB, free: 5.902 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.003187/3.111, allocations: 106.6 kB / 414.1 MB, free: 5.801 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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.dFFR.reset,dFFREG.dFFR.clock,dFFREG.dFFR.dataIn[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataOut[2],dFFREG.dFFR.clock_flag,dFFREG.dFFR.reset_flag,dFFREG.dFFR.nextstate[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREG.dFFR.dataOut[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.next_assign_val[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.nextstate[1],dFFREG.dFFR.reset_flag,dFFREG.dFFR.clock_flag,dFFREG.dFFR.clock,dFFREG.dFFR.reset,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREG.delay.inertialDelaySensitive[1].x,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREG.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 7 * 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.000718/3.111, allocations: 190.7 kB / 414.3 MB, free: 5.617 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.003209/3.115, allocations: 1.1 MB / 415.4 MB, free: 4.754 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/3.115, allocations: 4 kB / 415.4 MB, free: 4.75 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001583/3.116, allocations: 0.9254 MB / 416.3 MB, free: 3.781 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002313/3.119, allocations: 262.8 kB / 416.6 MB, free: 3.523 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/3.123, allocations: 1.734 MB / 418.3 MB, free: 1.766 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001263/3.125, allocations: 1.049 MB / 419.4 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of SimCode: time 1.283e-06/3.125, allocations: 0 / 419.4 MB, free: 0.6875 MB / 314.7 MB