Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRL,fileNamePrefix="Modelica_3_2_2_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.75/1.75, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2231/1.974, allocations: 46.83 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08824/2.062, allocations: 44.5 MB / 293.8 MB, free: 10.94 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.285/2.347, allocations: 77.44 MB / 371.3 MB, free: 7.152 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/2.347, allocations: 70.73 kB / 371.3 MB, free: 7.152 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.09761/2.445, allocations: 33.32 MB / 404.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/2.445, allocations: 8.938 kB / 404.7 MB, free: 12.02 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005739/2.445, allocations: 131.7 kB / 404.8 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/2.447, allocations: 0.527 MB / 405.3 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/2.447, allocations: 18.23 kB / 405.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/2.447, allocations: 27.06 kB / 405.4 MB, free: 11.6 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00113/2.448, allocations: 458.9 kB / 405.8 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001532/2.45, allocations: 0.6111 MB / 406.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/2.45, allocations: 4 kB / 406.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/2.45, allocations: 10.16 kB / 406.4 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/2.45, allocations: 2.219 kB / 406.5 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003054/2.453, allocations: 1.065 MB / 407.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001276/2.454, allocations: 0.6836 MB / 408.2 MB, free: 10.29 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001233/2.456, allocations: 0.6714 MB / 408.9 MB, free: 9.91 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/2.456, allocations: 3.984 kB / 408.9 MB, free: 9.906 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001401/2.457, allocations: 0.7324 MB / 409.6 MB, free: 9.293 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 5.651e-06/2.457, allocations: 0 / 409.6 MB, free: 9.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002457/2.46, allocations: 0.9641 MB / 410.6 MB, free: 8.531 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000267/2.46, allocations: 330.5 kB / 410.9 MB, free: 8.168 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003786/2.464, allocations: 1.552 MB / 412.4 MB, free: 6.879 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002555/2.464, allocations: 44.81 kB / 412.5 MB, free: 6.832 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001839/2.464, allocations: 155.6 kB / 412.6 MB, free: 6.691 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001998/2.464, allocations: 80.38 kB / 412.7 MB, free: 6.625 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.433e-05/2.464, allocations: 8 kB / 412.7 MB, free: 6.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002272/2.465, allocations: 383.4 kB / 413.1 MB, free: 6.258 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001027/2.466, allocations: 449 kB / 413.5 MB, free: 5.953 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001006/2.467, allocations: 457.5 kB / 414 MB, free: 5.645 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006613/2.467, allocations: 298.9 kB / 414.3 MB, free: 5.441 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/2.467, allocations: 0 / 414.3 MB, free: 5.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002145/2.47, allocations: 0.9168 MB / 415.2 MB, free: 4.738 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/2.47, allocations: 4 kB / 415.2 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.829e-06/2.47, allocations: 4 kB / 415.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/2.47, allocations: 0 / 415.2 MB, free: 4.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.729e-05/2.47, allocations: 7.938 kB / 415.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/2.47, allocations: 0 / 415.2 MB, free: 4.723 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007181/2.471, allocations: 43.95 kB / 415.3 MB, free: 4.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003274/2.471, allocations: 151.4 kB / 415.4 MB, free: 4.535 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.0006631/2.472, allocations: 457 kB / 415.9 MB, free: 4.062 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003047/2.472, allocations: 130.5 kB / 416 MB, free: 3.934 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000939/2.473, allocations: 252.2 kB / 416.2 MB, free: 3.711 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.255e-06/2.473, allocations: 8 kB / 416.2 MB, free: 3.703 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/2.473, allocations: 3.938 kB / 416.2 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/2.473, allocations: 0 / 416.2 MB, free: 3.699 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0047/2.478, allocations: 1.865 MB / 418.1 MB, free: 2.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/2.478, allocations: 4 kB / 418.1 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.603e-05/2.478, allocations: 0.625 kB / 418.1 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/2.478, allocations: 3.906 kB / 418.1 MB, free: 2.199 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/2.478, allocations: 44.03 kB / 418.2 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/2.478, allocations: 0 / 418.2 MB, free: 2.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/2.478, allocations: 4 kB / 418.2 MB, free: 2.156 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003002/2.481, allocations: 1.141 MB / 419.3 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003093/2.484, allocations: 1.519 MB / 420.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002449/2.487, allocations: 0.698 MB / 421.5 MB, free: 14.74 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00045/2.487, allocations: 67.95 kB / 421.6 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000695/2.488, allocations: 27.98 kB / 421.6 MB, free: 14.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001049/2.489, allocations: 367.6 kB / 422 MB, free: 14.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003308/2.489, allocations: 159.9 kB / 422.1 MB, free: 14.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.003417/2.493, allocations: 1.266 MB / 423.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002002/2.495, allocations: 139.9 kB / 423.5 MB, free: 12.72 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: 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.0004835/2.495, allocations: 201.5 kB / 423.7 MB, free: 12.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002852/2.498, allocations: 1.442 MB / 425.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/2.498, allocations: 0 / 425.2 MB, free: 11.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002002/2.5, allocations: 1.185 MB / 426.3 MB, free: 9.793 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/2.502, allocations: 299.1 kB / 426.6 MB, free: 9.504 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006821/2.509, allocations: 2.479 MB / 429.1 MB, free: 6.988 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001951/2.511, allocations: 1.258 MB / 430.4 MB, free: 5.695 MB / 330.7 MB Notification: Performance of SimCode: time 1.172e-06/2.511, allocations: 4 kB / 430.4 MB, free: 5.691 MB / 330.7 MB