Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DFFREGSRH,fileNamePrefix="Modelica_3_2_2_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.824/1.824, allocations: 194.9 MB / 202.5 MB, free: 6.938 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2431/2.067, allocations: 46.83 MB / 249.3 MB, free: 5.363 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08904/2.156, allocations: 44.52 MB / 293.9 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2838/2.44, allocations: 77.39 MB / 371.2 MB, free: 7.195 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/2.441, allocations: 68.02 kB / 371.3 MB, free: 7.195 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.09229/2.533, allocations: 31.78 MB / 403.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/2.533, allocations: 9.219 kB / 403.1 MB, free: 12.72 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003664/2.533, allocations: 127.5 kB / 403.2 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/2.535, allocations: 0.5264 MB / 403.7 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.535e-05/2.535, allocations: 14.44 kB / 403.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/2.535, allocations: 26.25 kB / 403.8 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00113/2.536, allocations: 450.7 kB / 404.2 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001618/2.538, allocations: 0.6183 MB / 404.8 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/2.538, allocations: 0.625 kB / 404.8 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001105/2.538, allocations: 9.906 kB / 404.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/2.538, allocations: 2.969 kB / 404.9 MB, free: 12.08 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002926/2.541, allocations: 1.073 MB / 405.9 MB, free: 11.53 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001336/2.542, allocations: 0.6845 MB / 406.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00133/2.543, allocations: 0.6741 MB / 407.3 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/2.543, allocations: 7.938 kB / 407.3 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/2.545, allocations: 0.7179 MB / 408 MB, free: 10.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=36): time 3.366e-06/2.545, allocations: 4 kB / 408 MB, free: 10.76 MB / 314.7 MB Notification: Performance of matching and sorting (n=36): time 0.002433/2.547, allocations: 0.9615 MB / 409 MB, free: 10 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002761/2.548, allocations: 330.7 kB / 409.3 MB, free: 9.641 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003988/2.552, allocations: 1.548 MB / 410.9 MB, free: 8.355 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002982/2.552, allocations: 45.25 kB / 410.9 MB, free: 8.309 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/2.552, allocations: 155.6 kB / 411 MB, free: 8.168 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000206/2.552, allocations: 79.41 kB / 411.1 MB, free: 8.105 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.306e-05/2.552, allocations: 12 kB / 411.1 MB, free: 8.094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002312/2.553, allocations: 387 kB / 411.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/2.554, allocations: 451.8 kB / 412 MB, free: 7.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/2.555, allocations: 449.1 kB / 412.4 MB, free: 7.121 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007253/2.556, allocations: 298.6 kB / 412.7 MB, free: 6.918 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/2.556, allocations: 4 kB / 412.7 MB, free: 6.914 MB / 314.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002164/2.558, allocations: 0.9133 MB / 413.6 MB, free: 6.215 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/2.558, allocations: 7.906 kB / 413.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/2.558, allocations: 0 / 413.6 MB, free: 6.207 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.405e-05/2.558, allocations: 4 kB / 413.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.042e-05/2.558, allocations: 0 / 413.6 MB, free: 6.203 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/2.558, allocations: 4 kB / 413.6 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007883/2.559, allocations: 42.88 kB / 413.7 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003139/2.559, allocations: 154.9 kB / 413.8 MB, free: 6.012 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.0006562/2.56, allocations: 453.1 kB / 414.3 MB, free: 5.539 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004091/2.56, allocations: 138.4 kB / 414.4 MB, free: 5.402 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001072/2.561, allocations: 252.6 kB / 414.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/2.561, allocations: 0 / 414.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/2.561, allocations: 0 / 414.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/2.561, allocations: 0 / 414.6 MB, free: 5.176 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004968/2.566, allocations: 1.882 MB / 416.5 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/2.566, allocations: 0 / 416.5 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/2.567, allocations: 4.562 kB / 416.5 MB, free: 3.668 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-05/2.567, allocations: 7.984 kB / 416.5 MB, free: 3.66 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/2.567, allocations: 36.73 kB / 416.6 MB, free: 3.629 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.861e-06/2.567, allocations: 4 kB / 416.6 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/2.567, allocations: 3.938 kB / 416.6 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002661/2.569, allocations: 1.133 MB / 417.7 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002777/2.572, allocations: 1.523 MB / 419.2 MB, free: 1.035 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002317/2.575, allocations: 0.6903 MB / 419.9 MB, free: 332 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003724/2.575, allocations: 63.97 kB / 420 MB, free: 268 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006998/2.576, allocations: 39.81 kB / 420 MB, free: 228 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001003/2.577, allocations: 367.2 kB / 420.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002929/2.577, allocations: 163.9 kB / 420.5 MB, free: 15.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.003373/2.58, allocations: 1.27 MB / 421.8 MB, free: 14.43 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001956/2.582, allocations: 128 kB / 421.9 MB, free: 14.31 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,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.0004255/2.583, allocations: 185.7 kB / 422.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002918/2.586, allocations: 1.462 MB / 423.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/2.586, allocations: 0 / 423.6 MB, free: 12.61 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002053/2.588, allocations: 1.181 MB / 424.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/2.59, allocations: 289.1 kB / 425 MB, free: 11.09 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007013/2.597, allocations: 2.487 MB / 427.5 MB, free: 8.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001751/2.599, allocations: 1.251 MB / 428.8 MB, free: 7.289 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/2.599, allocations: 0 / 428.8 MB, free: 7.289 MB / 330.7 MB