Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGSRH,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DLATREGSRH",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.728/1.728, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2469/1.975, allocations: 46.83 MB / 249.3 MB, free: 5.355 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08942/2.064, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2768/2.341, allocations: 77.28 MB / 371.1 MB, free: 7.066 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/2.341, allocations: 62.61 kB / 371.2 MB, free: 7.066 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.1285/2.47, allocations: 31.36 MB / 402.5 MB, free: 12.86 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.791e-05/2.47, allocations: 8.906 kB / 402.6 MB, free: 12.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000685/2.471, allocations: 132.6 kB / 402.7 MB, free: 12.8 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/2.473, allocations: 0.5218 MB / 403.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.725e-05/2.473, allocations: 18.44 kB / 403.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/2.473, allocations: 23.66 kB / 403.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001716/2.475, allocations: 471.5 kB / 403.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/2.477, allocations: 0.6032 MB / 404.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/2.477, allocations: 0 / 404.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001542/2.477, allocations: 14.62 kB / 404.3 MB, free: 12.23 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/2.477, allocations: 6.375 kB / 404.3 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005185/2.482, allocations: 1.153 MB / 405.5 MB, free: 11.66 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002092/2.484, allocations: 0.6987 MB / 406.2 MB, free: 11.57 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001966/2.486, allocations: 0.6808 MB / 406.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/2.487, allocations: 0.9688 kB / 406.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00236/2.489, allocations: 0.7043 MB / 407.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 7.304e-06/2.489, allocations: 0 / 407.6 MB, free: 11.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.003732/2.493, allocations: 0.9518 MB / 408.5 MB, free: 10.5 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000467/2.493, allocations: 337.6 kB / 408.9 MB, free: 10.13 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006664/2.5, allocations: 1.573 MB / 410.4 MB, free: 8.824 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003469/2.5, allocations: 43.33 kB / 410.5 MB, free: 8.781 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003064/2.501, allocations: 156.1 kB / 410.6 MB, free: 8.641 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/2.501, allocations: 79.17 kB / 410.7 MB, free: 8.574 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/2.501, allocations: 11.98 kB / 410.7 MB, free: 8.562 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0003308/2.501, allocations: 379.2 kB / 411.1 MB, free: 8.207 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/2.503, allocations: 448.7 kB / 411.5 MB, free: 7.906 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001565/2.505, allocations: 456.2 kB / 412 MB, free: 7.598 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009618/2.506, allocations: 310.7 kB / 412.3 MB, free: 7.379 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/2.506, allocations: 3.938 kB / 412.3 MB, free: 7.375 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003186/2.509, allocations: 0.8998 MB / 413.2 MB, free: 6.684 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.96e-05/2.509, allocations: 10.19 kB / 413.2 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/2.509, allocations: 0 / 413.2 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/2.509, allocations: 0 / 413.2 MB, free: 6.676 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.134e-05/2.509, allocations: 3.938 kB / 413.2 MB, free: 6.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/2.509, allocations: 4 kB / 413.2 MB, free: 6.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/2.51, allocations: 43.81 kB / 413.2 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003544/2.511, allocations: 120.2 kB / 413.3 MB, free: 6.512 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: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 8 * 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.0009594/2.512, allocations: 460.1 kB / 413.8 MB, free: 6.039 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004984/2.512, allocations: 134.4 kB / 413.9 MB, free: 5.906 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001339/2.514, allocations: 251.3 kB / 414.2 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/2.514, allocations: 0 / 414.2 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/2.514, allocations: 0 / 414.2 MB, free: 5.684 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/2.514, allocations: 7.984 kB / 414.2 MB, free: 5.676 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006817/2.52, allocations: 1.87 MB / 416.1 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.797e-06/2.52, allocations: 0 / 416.1 MB, free: 4.184 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/2.521, allocations: 4 kB / 416.1 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-05/2.521, allocations: 0 / 416.1 MB, free: 4.18 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002022/2.521, allocations: 36.17 kB / 416.1 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/2.521, allocations: 0 / 416.1 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/2.521, allocations: 0 / 416.1 MB, free: 4.148 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003694/2.525, allocations: 1.149 MB / 417.2 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003958/2.529, allocations: 1.524 MB / 418.8 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003318/2.532, allocations: 0.6863 MB / 419.5 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005566/2.533, allocations: 67.95 kB / 419.5 MB, free: 0.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009975/2.534, allocations: 39.91 kB / 419.6 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001543/2.535, allocations: 395.2 kB / 419.9 MB, free: 252 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003944/2.536, allocations: 127.9 kB / 420.1 MB, free: 124 kB / 314.7 MB Notification: Performance of sort global known variables: time 0.005108/2.541, allocations: 1.283 MB / 421.3 MB, free: 14.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002893/2.544, allocations: 132 kB / 421.5 MB, free: 14.71 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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRH.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * 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.0006198/2.544, allocations: 185.7 kB / 421.7 MB, free: 14.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004816/2.549, allocations: 1.435 MB / 423.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/2.549, allocations: 0 / 423.1 MB, free: 13.03 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00215/2.551, allocations: 1.224 MB / 424.3 MB, free: 11.76 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002423/2.554, allocations: 288.5 kB / 424.6 MB, free: 11.47 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00749/2.561, allocations: 2.527 MB / 427.1 MB, free: 8.918 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001815/2.563, allocations: 1.238 MB / 428.4 MB, free: 7.652 MB / 330.7 MB Notification: Performance of SimCode: time 1.513e-06/2.563, allocations: 4 kB / 428.4 MB, free: 7.648 MB / 330.7 MB