Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGL,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_DFFREGL",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.652/1.652, allocations: 171.2 MB / 178.1 MB, free: 15.97 MB / 158.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1103/1.763, allocations: 41.1 MB / 219.2 MB, free: 6.812 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1917/1.954, allocations: 38.76 MB / 258 MB, free: 15.28 MB / 222.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1469/2.101, allocations: 71.87 MB / 329.9 MB, free: 7.301 MB / 286.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003911/2.102, allocations: 71.95 kB / 329.9 MB, free: 7.227 MB / 286.1 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.2707/2.372, allocations: 37.67 MB / 367.6 MB, free: 51.07 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/2.373, allocations: 8 kB / 367.6 MB, free: 51.06 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/2.373, allocations: 94.97 kB / 367.7 MB, free: 50.96 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008611/2.374, allocations: 427.6 kB / 368.1 MB, free: 50.51 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/2.374, allocations: 19.98 kB / 368.2 MB, free: 50.49 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/2.374, allocations: 20 kB / 368.2 MB, free: 50.47 MB / 286.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000764/2.375, allocations: 344.2 kB / 368.5 MB, free: 50.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001/2.376, allocations: 498.3 kB / 369 MB, free: 49.64 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/2.376, allocations: 4 kB / 369 MB, free: 49.63 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.078e-05/2.376, allocations: 11.98 kB / 369 MB, free: 49.62 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/2.376, allocations: 4 kB / 369 MB, free: 49.62 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/2.378, allocations: 0.8405 MB / 369.9 MB, free: 48.74 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008506/2.379, allocations: 0.4984 MB / 370.4 MB, free: 48.23 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000785/2.379, allocations: 488.7 kB / 370.8 MB, free: 47.75 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.608e-05/2.379, allocations: 4 kB / 370.8 MB, free: 47.75 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000917/2.38, allocations: 0.6041 MB / 371.4 MB, free: 47.1 MB / 286.1 MB Notification: Performance of pre-optimization done (n=34): time 2.926e-06/2.38, allocations: 0 / 371.4 MB, free: 47.1 MB / 286.1 MB Notification: Performance of matching and sorting (n=34): time 0.001662/2.382, allocations: 0.7651 MB / 372.2 MB, free: 46.33 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001525/2.382, allocations: 279.3 kB / 372.5 MB, free: 46 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/2.384, allocations: 0.9919 MB / 373.5 MB, free: 45 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002213/2.385, allocations: 41.69 kB / 373.5 MB, free: 44.95 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.72e-05/2.385, allocations: 110 kB / 373.6 MB, free: 44.84 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00017/2.385, allocations: 83.08 kB / 373.7 MB, free: 44.76 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.98e-05/2.385, allocations: 8 kB / 373.7 MB, free: 44.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.758e-05/2.385, allocations: 342.7 kB / 374 MB, free: 44.41 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007425/2.386, allocations: 344.2 kB / 374.4 MB, free: 44.07 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/2.386, allocations: 344.5 kB / 374.7 MB, free: 43.74 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004934/2.387, allocations: 249.3 kB / 375 MB, free: 43.5 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/2.387, allocations: 0 / 375 MB, free: 43.5 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001518/2.389, allocations: 0.712 MB / 375.7 MB, free: 42.78 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/2.389, allocations: 8 kB / 375.7 MB, free: 42.77 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/2.389, allocations: 0 / 375.7 MB, free: 42.77 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.166e-05/2.389, allocations: 0 / 375.7 MB, free: 42.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.144e-05/2.389, allocations: 7.938 kB / 375.7 MB, free: 42.76 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/2.389, allocations: 4 kB / 375.7 MB, free: 42.76 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005481/2.389, allocations: 43.75 kB / 375.7 MB, free: 42.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/2.389, allocations: 151.2 kB / 375.9 MB, free: 42.57 MB / 286.1 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.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.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.0004527/2.39, allocations: 394.1 kB / 376.3 MB, free: 42.14 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001709/2.39, allocations: 90.97 kB / 376.4 MB, free: 42.05 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004814/2.391, allocations: 139.7 kB / 376.5 MB, free: 41.91 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/2.391, allocations: 15.97 kB / 376.5 MB, free: 41.89 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/2.391, allocations: 0 / 376.5 MB, free: 41.89 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/2.391, allocations: 3.906 kB / 376.5 MB, free: 41.89 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002644/2.393, allocations: 1.459 MB / 378 MB, free: 40.38 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/2.393, allocations: 0 / 378 MB, free: 40.38 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.069e-05/2.393, allocations: 3.938 kB / 378 MB, free: 40.38 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/2.393, allocations: 4 kB / 378 MB, free: 40.38 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001035/2.394, allocations: 39.97 kB / 378 MB, free: 40.34 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/2.394, allocations: 0 / 378 MB, free: 40.34 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/2.394, allocations: 0 / 378 MB, free: 40.34 MB / 286.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001772/2.395, allocations: 0.9277 MB / 378.9 MB, free: 39.39 MB / 286.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001769/2.397, allocations: 1.299 MB / 380.2 MB, free: 38.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001471/2.399, allocations: 0.5815 MB / 380.8 MB, free: 37.47 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002947/2.399, allocations: 59.97 kB / 380.9 MB, free: 37.41 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005694/2.4, allocations: 39.91 kB / 380.9 MB, free: 37.37 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006025/2.4, allocations: 243.8 kB / 381.2 MB, free: 37.13 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000212/2.4, allocations: 155.8 kB / 381.3 MB, free: 36.98 MB / 286.1 MB Notification: Performance of sort global known variables: time 0.001687/2.402, allocations: 0.8226 MB / 382.1 MB, free: 36.16 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.001653/2.404, allocations: 107.9 kB / 382.2 MB, free: 36.06 MB / 286.1 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,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.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.0003585/2.404, allocations: 184.5 kB / 382.4 MB, free: 35.86 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001873/2.406, allocations: 1.081 MB / 383.5 MB, free: 34.74 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/2.406, allocations: 0 / 383.5 MB, free: 34.74 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001275/2.407, allocations: 0.9099 MB / 384.4 MB, free: 33.79 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/2.409, allocations: 275.5 kB / 384.7 MB, free: 33.52 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004285/2.414, allocations: 1.717 MB / 386.4 MB, free: 31.77 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009819/2.415, allocations: 1.061 MB / 387.5 MB, free: 30.68 MB / 286.1 MB Notification: Performance of SimCode: time 1.503e-06/2.415, allocations: 0 / 387.5 MB, free: 30.68 MB / 286.1 MB