Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREG,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DLATREG",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.071/2.071, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2577/2.329, allocations: 46.83 MB / 249.3 MB, free: 5.293 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08738/2.416, allocations: 44.5 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.277/2.693, allocations: 76.96 MB / 370.8 MB, free: 7.227 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/2.693, allocations: 68.42 kB / 370.9 MB, free: 7.227 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.08208/2.776, allocations: 27.08 MB / 398 MB, free: 15.12 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/2.776, allocations: 9.625 kB / 398 MB, free: 15.12 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004293/2.776, allocations: 90.28 kB / 398.1 MB, free: 15.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/2.777, allocations: 427.8 kB / 398.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.352e-05/2.777, allocations: 20 kB / 398.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/2.778, allocations: 23.34 kB / 398.5 MB, free: 14.77 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001023/2.779, allocations: 353.2 kB / 398.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001518/2.78, allocations: 490.4 kB / 399.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.538e-05/2.78, allocations: 0 / 399.3 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.376e-05/2.78, allocations: 15.36 kB / 399.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/2.78, allocations: 7.25 kB / 399.4 MB, free: 14.58 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003112/2.784, allocations: 0.9086 MB / 400.3 MB, free: 14.12 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/2.785, allocations: 0.4915 MB / 400.8 MB, free: 14.04 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/2.786, allocations: 485 kB / 401.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.217e-05/2.786, allocations: 5.031 kB / 401.2 MB, free: 13.99 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001367/2.787, allocations: 0.5926 MB / 401.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 5.07e-06/2.787, allocations: 0 / 401.8 MB, free: 13.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002288/2.79, allocations: 0.7483 MB / 402.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003268/2.79, allocations: 286.9 kB / 402.9 MB, free: 13.24 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002971/2.793, allocations: 0.9902 MB / 403.8 MB, free: 12.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002586/2.793, allocations: 42.47 kB / 403.9 MB, free: 12.8 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/2.794, allocations: 113.3 kB / 404 MB, free: 12.71 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002776/2.794, allocations: 75.98 kB / 404.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.476e-05/2.794, allocations: 6.594 kB / 404.1 MB, free: 12.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002/2.794, allocations: 342.6 kB / 404.4 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009414/2.795, allocations: 339.9 kB / 404.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/2.796, allocations: 350.8 kB / 405.1 MB, free: 12.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007598/2.797, allocations: 245 kB / 405.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.863e-06/2.797, allocations: 0 / 405.3 MB, free: 12.2 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002089/2.799, allocations: 0.7182 MB / 406 MB, free: 12.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.508e-05/2.799, allocations: 5.125 kB / 406.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/2.799, allocations: 1.281 kB / 406.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/2.799, allocations: 0 / 406.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.041e-05/2.799, allocations: 1.844 kB / 406.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/2.799, allocations: 1 kB / 406.1 MB, free: 12.04 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/2.8, allocations: 37.69 kB / 406.1 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003252/2.801, allocations: 118.8 kB / 406.2 MB, free: 12.02 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].x,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].x,$PRE.dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * 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.0007389/2.801, allocations: 423.7 kB / 406.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003214/2.802, allocations: 89.28 kB / 406.7 MB, free: 11.61 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006438/2.802, allocations: 139.9 kB / 406.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/2.802, allocations: 1.156 kB / 406.8 MB, free: 11.53 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.002e-05/2.802, allocations: 8.516 kB / 406.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/2.802, allocations: 0.5312 kB / 406.9 MB, free: 11.52 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004116/2.807, allocations: 1.459 MB / 408.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.846e-06/2.807, allocations: 4 kB / 408.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.308e-05/2.807, allocations: 0 / 408.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/2.807, allocations: 0 / 408.3 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002053/2.807, allocations: 31.23 kB / 408.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/2.807, allocations: 0 / 408.4 MB, free: 10.61 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.171e-06/2.807, allocations: 7.906 kB / 408.4 MB, free: 10.6 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002427/2.809, allocations: 0.9293 MB / 409.3 MB, free: 9.859 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00258/2.812, allocations: 1.307 MB / 410.6 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001885/2.814, allocations: 0.5661 MB / 411.2 MB, free: 8.312 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004138/2.814, allocations: 60.45 kB / 411.2 MB, free: 8.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007392/2.815, allocations: 39.66 kB / 411.3 MB, free: 8.234 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007722/2.816, allocations: 237.6 kB / 411.5 MB, free: 8.055 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003015/2.816, allocations: 138.6 kB / 411.6 MB, free: 7.926 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.002336/2.819, allocations: 0.8221 MB / 412.4 MB, free: 7.266 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001931/2.821, allocations: 111.8 kB / 412.6 MB, free: 7.156 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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.dLATR.dataIn[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataOut[2],dLATREG.dLATR.enable_flag,dLATREG.dLATR.reset_flag,dLATREG.dLATR.nextstate[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREG.delay.inertialDelaySensitive[1].x,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREG.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * 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.0005916/2.821, allocations: 183.4 kB / 412.7 MB, free: 6.977 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002645/2.824, allocations: 1.072 MB / 413.8 MB, free: 6.191 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/2.824, allocations: 4 kB / 413.8 MB, free: 6.188 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001969/2.826, allocations: 0.9529 MB / 414.8 MB, free: 5.254 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002241/2.828, allocations: 247 kB / 415 MB, free: 5.012 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005479/2.834, allocations: 1.716 MB / 416.7 MB, free: 3.273 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/2.835, allocations: 1.045 MB / 417.8 MB, free: 2.199 MB / 314.7 MB Notification: Performance of SimCode: time 1.372e-06/2.835, allocations: 0 / 417.8 MB, free: 2.199 MB / 314.7 MB