Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGL,fileNamePrefix="Modelica_3_2_2_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 2.032/2.032, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2394/2.272, allocations: 46.84 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/2.375, allocations: 44.51 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.348/2.723, allocations: 77.17 MB / 371 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/2.723, allocations: 67.55 kB / 371.1 MB, free: 7.047 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.1242/2.848, allocations: 37.81 MB / 408.9 MB, free: 10.26 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/2.848, allocations: 8 kB / 408.9 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002396/2.848, allocations: 90.97 kB / 409 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009687/2.849, allocations: 427.1 kB / 409.4 MB, free: 9.75 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.898e-05/2.849, allocations: 27.09 kB / 409.4 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/2.849, allocations: 26.94 kB / 409.5 MB, free: 9.703 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008946/2.85, allocations: 353.7 kB / 409.8 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/2.851, allocations: 0.4945 MB / 410.3 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/2.851, allocations: 0 / 410.3 MB, free: 9.066 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.094e-05/2.851, allocations: 8 kB / 410.3 MB, free: 9.059 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/2.851, allocations: 4 kB / 410.3 MB, free: 9.055 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002402/2.854, allocations: 0.8491 MB / 411.2 MB, free: 8.34 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009956/2.855, allocations: 0.4987 MB / 411.7 MB, free: 8.031 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008969/2.856, allocations: 0.4915 MB / 412.2 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/2.856, allocations: 0 / 412.2 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00114/2.857, allocations: 0.6158 MB / 412.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of pre-optimization done (n=34): time 2.334e-06/2.857, allocations: 0 / 412.8 MB, free: 7.203 MB / 314.7 MB Notification: Performance of matching and sorting (n=34): time 0.001938/2.859, allocations: 0.7787 MB / 413.6 MB, free: 6.586 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002197/2.859, allocations: 285.7 kB / 413.8 MB, free: 6.266 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/2.861, allocations: 0.9977 MB / 414.8 MB, free: 5.445 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001709/2.862, allocations: 44.77 kB / 414.9 MB, free: 5.398 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.403e-05/2.862, allocations: 112.1 kB / 415 MB, free: 5.293 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001772/2.862, allocations: 69.48 kB / 415.1 MB, free: 5.234 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.876e-05/2.862, allocations: 11.38 kB / 415.1 MB, free: 5.227 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/2.862, allocations: 352 kB / 415.4 MB, free: 4.887 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008641/2.863, allocations: 347.8 kB / 415.7 MB, free: 4.652 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008791/2.864, allocations: 350.2 kB / 416.1 MB, free: 4.418 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006219/2.865, allocations: 243.8 kB / 416.3 MB, free: 4.254 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/2.865, allocations: 0 / 416.3 MB, free: 4.254 MB / 314.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001832/2.867, allocations: 0.7417 MB / 417.1 MB, free: 3.512 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/2.867, allocations: 8 kB / 417.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.949e-06/2.867, allocations: 0 / 417.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.245e-05/2.867, allocations: 0 / 417.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/2.867, allocations: 0 / 417.1 MB, free: 3.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/2.867, allocations: 4 kB / 417.1 MB, free: 3.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006226/2.867, allocations: 39.81 kB / 417.1 MB, free: 3.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002839/2.868, allocations: 152.1 kB / 417.3 MB, free: 3.312 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.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.000599/2.868, allocations: 408.3 kB / 417.7 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002466/2.869, allocations: 90.97 kB / 417.8 MB, free: 2.781 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006182/2.869, allocations: 151.7 kB / 417.9 MB, free: 2.629 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/2.869, allocations: 4 kB / 417.9 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/2.869, allocations: 0 / 417.9 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/2.869, allocations: 0 / 417.9 MB, free: 2.625 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/2.873, allocations: 1.489 MB / 419.4 MB, free: 1.094 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.919e-06/2.873, allocations: 4 kB / 419.4 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.182e-05/2.873, allocations: 0 / 419.4 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/2.873, allocations: 0 / 419.4 MB, free: 1.09 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001223/2.873, allocations: 35.98 kB / 419.4 MB, free: 1.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.145e-06/2.873, allocations: 7.984 kB / 419.4 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.848e-06/2.873, allocations: 0 / 419.4 MB, free: 1.047 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002133/2.875, allocations: 0.9393 MB / 420.4 MB, free: 92 kB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002303/2.877, allocations: 1.314 MB / 421.7 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001829/2.879, allocations: 0.5814 MB / 422.3 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003348/2.88, allocations: 63.95 kB / 422.3 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000593/2.88, allocations: 27.98 kB / 422.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007001/2.881, allocations: 247.1 kB / 422.6 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002813/2.881, allocations: 155.9 kB / 422.8 MB, free: 13.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.002107/2.883, allocations: 0.8381 MB / 423.6 MB, free: 12.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001812/2.885, allocations: 112 kB / 423.7 MB, free: 12.73 MB / 330.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,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.0005158/2.886, allocations: 184.4 kB / 423.9 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003155/2.889, allocations: 1.101 MB / 425 MB, free: 11.4 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/2.889, allocations: 7.938 kB / 425 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002037/2.891, allocations: 0.9182 MB / 425.9 MB, free: 10.43 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002169/2.893, allocations: 269.1 kB / 426.2 MB, free: 10.17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/2.898, allocations: 1.733 MB / 427.9 MB, free: 8.402 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/2.899, allocations: 1.057 MB / 429 MB, free: 7.316 MB / 330.7 MB Notification: Performance of SimCode: time 1.894e-06/2.899, allocations: 3.938 kB / 429 MB, free: 7.312 MB / 330.7 MB