Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRL,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_DFFREGSRL",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.696/1.696, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1908/1.887, allocations: 41.1 MB / 219.2 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08616/1.973, allocations: 38.77 MB / 258 MB, free: 4.344 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3091/2.282, allocations: 72.43 MB / 330.4 MB, free: 15.63 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/2.283, allocations: 62.66 kB / 330.5 MB, free: 15.6 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.1487/2.432, allocations: 32.36 MB / 362.9 MB, free: 4.594 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.135e-05/2.432, allocations: 12 kB / 362.9 MB, free: 4.582 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005852/2.432, allocations: 126.5 kB / 363 MB, free: 4.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001887/2.434, allocations: 0.5322 MB / 363.5 MB, free: 3.875 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-05/2.434, allocations: 19.98 kB / 363.5 MB, free: 3.855 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/2.434, allocations: 24 kB / 363.6 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001617/2.436, allocations: 459.8 kB / 364 MB, free: 3.383 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/2.438, allocations: 0.591 MB / 364.6 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/2.438, allocations: 0 / 364.6 MB, free: 2.785 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001643/2.439, allocations: 15.98 kB / 364.6 MB, free: 2.77 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.219e-05/2.439, allocations: 4 kB / 364.6 MB, free: 2.766 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004035/2.443, allocations: 1.016 MB / 365.6 MB, free: 1.707 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/2.445, allocations: 0.6781 MB / 366.3 MB, free: 1.02 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002113/2.447, allocations: 0.6647 MB / 367 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.368e-05/2.447, allocations: 3.938 kB / 367 MB, free: 356 kB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002481/2.45, allocations: 0.7319 MB / 367.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 5.561e-06/2.45, allocations: 0 / 367.7 MB, free: 15.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.003833/2.454, allocations: 0.9488 MB / 368.7 MB, free: 14.62 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004972/2.454, allocations: 325 kB / 369 MB, free: 14.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005375/2.46, allocations: 1.39 MB / 370.4 MB, free: 12.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003765/2.46, allocations: 49.69 kB / 370.4 MB, free: 12.78 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/2.46, allocations: 142.4 kB / 370.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/2.461, allocations: 83.09 kB / 370.6 MB, free: 12.55 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001418/2.461, allocations: 8 kB / 370.7 MB, free: 12.55 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003344/2.461, allocations: 374.8 kB / 371 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001667/2.463, allocations: 436 kB / 371.4 MB, free: 11.74 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/2.465, allocations: 440 kB / 371.9 MB, free: 11.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/2.466, allocations: 300.5 kB / 372.2 MB, free: 11.02 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/2.466, allocations: 7.906 kB / 372.2 MB, free: 11.01 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.003467/2.469, allocations: 0.8916 MB / 373.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/2.47, allocations: 8 kB / 373.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/2.47, allocations: 0 / 373.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.256e-05/2.47, allocations: 0 / 373.1 MB, free: 10.11 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.098e-05/2.47, allocations: 11.94 kB / 373.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/2.47, allocations: 4 kB / 373.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/2.471, allocations: 39.95 kB / 373.1 MB, free: 10.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005233/2.471, allocations: 147.9 kB / 373.3 MB, free: 9.906 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.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.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.001046/2.472, allocations: 462.3 kB / 373.7 MB, free: 9.402 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004883/2.473, allocations: 134.4 kB / 373.9 MB, free: 9.27 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001036/2.474, allocations: 199.8 kB / 374.1 MB, free: 9.07 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.25e-05/2.474, allocations: 4 kB / 374.1 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/2.474, allocations: 0 / 374.1 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/2.474, allocations: 0 / 374.1 MB, free: 9.066 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006433/2.481, allocations: 1.779 MB / 375.8 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.598e-06/2.481, allocations: 4 kB / 375.8 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.33e-05/2.481, allocations: 0 / 375.8 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.029e-05/2.481, allocations: 0 / 375.8 MB, free: 7.234 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003188/2.481, allocations: 35.98 kB / 375.9 MB, free: 7.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.389e-05/2.481, allocations: 7.984 kB / 375.9 MB, free: 7.191 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/2.481, allocations: 3.938 kB / 375.9 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003995/2.485, allocations: 1.124 MB / 377 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004243/2.489, allocations: 1.508 MB / 378.5 MB, free: 4.512 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003057/2.493, allocations: 0.663 MB / 379.2 MB, free: 3.828 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005945/2.493, allocations: 63.97 kB / 379.2 MB, free: 3.766 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001063/2.494, allocations: 35.88 kB / 379.3 MB, free: 3.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001569/2.496, allocations: 367.6 kB / 379.6 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004901/2.496, allocations: 167.8 kB / 379.8 MB, free: 3.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.004142/2.501, allocations: 1.146 MB / 380.9 MB, free: 2.059 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.002918/2.504, allocations: 128 kB / 381.1 MB, free: 1.934 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,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.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.0007171/2.504, allocations: 189.6 kB / 381.3 MB, free: 1.738 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.004298/2.509, allocations: 1.435 MB / 382.7 MB, free: 260 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/2.509, allocations: 4 kB / 382.7 MB, free: 256 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003183/2.512, allocations: 1.173 MB / 383.9 MB, free: 15.03 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003286/2.515, allocations: 301.1 kB / 384.2 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00917/2.524, allocations: 2.313 MB / 386.5 MB, free: 12.38 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002668/2.527, allocations: 1.204 MB / 387.7 MB, free: 11.15 MB / 330.7 MB Notification: Performance of SimCode: time 4.739e-06/2.527, allocations: 0 / 387.7 MB, free: 11.15 MB / 330.7 MB