Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRH,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_DFFREGSRH",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.573/1.573, allocations: 171.2 MB / 178.1 MB, free: 8.301 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2528/1.826, allocations: 41.11 MB / 219.2 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0845/1.91, allocations: 38.76 MB / 258 MB, free: 4.355 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2717/2.182, allocations: 72.37 MB / 330.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/2.183, allocations: 67.53 kB / 330.5 MB, free: 15.62 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.1093/2.292, allocations: 31.11 MB / 361.6 MB, free: 5.902 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/2.292, allocations: 8 kB / 361.6 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004019/2.292, allocations: 134.5 kB / 361.7 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001351/2.294, allocations: 0.5245 MB / 362.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.919e-05/2.294, allocations: 27.94 kB / 362.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/2.294, allocations: 27.98 kB / 362.3 MB, free: 5.133 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001174/2.295, allocations: 447.8 kB / 362.7 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001543/2.297, allocations: 0.591 MB / 363.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/2.297, allocations: 0 / 363.3 MB, free: 4.094 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001101/2.297, allocations: 16 kB / 363.3 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/2.297, allocations: 0 / 363.3 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/2.3, allocations: 1.032 MB / 364.4 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/2.301, allocations: 0.6781 MB / 365 MB, free: 2.316 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001291/2.302, allocations: 0.6608 MB / 365.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/2.302, allocations: 0 / 365.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0015/2.304, allocations: 0.728 MB / 366.4 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.657e-06/2.304, allocations: 0 / 366.4 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.002408/2.306, allocations: 0.9527 MB / 367.4 MB, free: 15.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003159/2.307, allocations: 328.9 kB / 367.7 MB, free: 15.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003487/2.31, allocations: 1.386 MB / 369.1 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002659/2.311, allocations: 45.69 kB / 369.1 MB, free: 14.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/2.311, allocations: 138.6 kB / 369.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/2.311, allocations: 83.02 kB / 369.3 MB, free: 13.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000115/2.311, allocations: 19.98 kB / 369.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/2.311, allocations: 366.8 kB / 369.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/2.312, allocations: 436 kB / 370.1 MB, free: 13.05 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/2.314, allocations: 444 kB / 370.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007208/2.314, allocations: 296.5 kB / 370.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/2.314, allocations: 0 / 370.9 MB, free: 12.33 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00383/2.318, allocations: 0.8955 MB / 371.8 MB, free: 11.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/2.318, allocations: 7.938 kB / 371.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/2.318, allocations: 0 / 371.8 MB, free: 11.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.874e-05/2.318, allocations: 11.91 kB / 371.8 MB, free: 11.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.739e-05/2.318, allocations: 7.922 kB / 371.8 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/2.318, allocations: 0 / 371.8 MB, free: 11.4 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/2.32, allocations: 31.89 kB / 371.8 MB, free: 11.37 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005601/2.32, allocations: 151.9 kB / 372 MB, free: 11.22 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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * 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.001105/2.322, allocations: 462.3 kB / 372.4 MB, free: 10.71 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005745/2.322, allocations: 130.5 kB / 372.6 MB, free: 10.59 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001233/2.323, allocations: 199.8 kB / 372.7 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.645e-05/2.324, allocations: 3.906 kB / 372.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/2.324, allocations: 0 / 372.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.133e-05/2.324, allocations: 7.922 kB / 372.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006073/2.33, allocations: 1.783 MB / 374.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/2.33, allocations: 0 / 374.5 MB, free: 8.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.095e-05/2.33, allocations: 8 kB / 374.5 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/2.33, allocations: 0 / 374.5 MB, free: 8.535 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001354/2.33, allocations: 39.97 kB / 374.6 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/2.33, allocations: 0 / 374.6 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/2.33, allocations: 0 / 374.6 MB, free: 8.496 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002604/2.333, allocations: 1.12 MB / 375.7 MB, free: 7.355 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00271/2.335, allocations: 1.512 MB / 377.2 MB, free: 5.82 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/2.337, allocations: 0.6747 MB / 377.9 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005087/2.338, allocations: 63.95 kB / 378 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006698/2.339, allocations: 43.89 kB / 378 MB, free: 5.02 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001036/2.34, allocations: 363.6 kB / 378.4 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002862/2.34, allocations: 155.9 kB / 378.5 MB, free: 4.512 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.002714/2.343, allocations: 1.142 MB / 379.6 MB, free: 3.367 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001831/2.345, allocations: 140 kB / 379.8 MB, free: 3.23 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 8 * 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.0004231/2.345, allocations: 181.7 kB / 380 MB, free: 3.039 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002856/2.348, allocations: 1.439 MB / 381.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/2.348, allocations: 0 / 381.4 MB, free: 1.551 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001996/2.35, allocations: 1.173 MB / 382.6 MB, free: 336 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002222/2.352, allocations: 293.2 kB / 382.9 MB, free: 44 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006072/2.358, allocations: 2.32 MB / 385.2 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00157/2.36, allocations: 1.2 MB / 386.4 MB, free: 12.45 MB / 330.7 MB Notification: Performance of SimCode: time 1.312e-06/2.36, allocations: 0 / 386.4 MB, free: 12.45 MB / 330.7 MB