Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DLATREGL",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.716/1.716, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2621/1.978, allocations: 46.83 MB / 249.3 MB, free: 5.328 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/2.094, allocations: 44.5 MB / 293.8 MB, free: 10.93 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.268/2.362, allocations: 77 MB / 370.8 MB, free: 7.238 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/2.362, allocations: 68.86 kB / 370.9 MB, free: 7.238 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.09986/2.462, allocations: 33.6 MB / 404.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/2.462, allocations: 9.219 kB / 404.5 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002338/2.462, allocations: 87.19 kB / 404.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001008/2.463, allocations: 428.8 kB / 405 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.252e-05/2.463, allocations: 15.56 kB / 405 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001171/2.463, allocations: 19.69 kB / 405.1 MB, free: 12.36 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009385/2.464, allocations: 352.7 kB / 405.4 MB, free: 12.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/2.465, allocations: 494.4 kB / 405.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/2.465, allocations: 0 / 405.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.454e-05/2.466, allocations: 8.188 kB / 405.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/2.466, allocations: 7.156 kB / 405.9 MB, free: 12.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/2.468, allocations: 0.9086 MB / 406.8 MB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/2.469, allocations: 0.4917 MB / 407.3 MB, free: 11.64 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008984/2.47, allocations: 498.1 kB / 407.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.418e-05/2.47, allocations: 0 / 407.8 MB, free: 11.44 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/2.471, allocations: 0.5925 MB / 408.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.625e-06/2.471, allocations: 3.938 kB / 408.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.001864/2.473, allocations: 0.7389 MB / 409.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002192/2.473, allocations: 291.8 kB / 409.4 MB, free: 10.02 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002308/2.476, allocations: 0.9865 MB / 410.4 MB, free: 9.203 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001528/2.476, allocations: 40.94 kB / 410.4 MB, free: 9.16 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/2.476, allocations: 116.2 kB / 410.5 MB, free: 9.055 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/2.476, allocations: 73.61 kB / 410.6 MB, free: 8.992 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/2.476, allocations: 11.98 kB / 410.6 MB, free: 8.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/2.476, allocations: 343.5 kB / 411 MB, free: 8.648 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000778/2.477, allocations: 339.6 kB / 411.3 MB, free: 8.422 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007438/2.478, allocations: 339.7 kB / 411.6 MB, free: 8.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005416/2.478, allocations: 253.4 kB / 411.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/2.479, allocations: 0 / 411.9 MB, free: 8.023 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001656/2.48, allocations: 0.7199 MB / 412.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/2.48, allocations: 6.188 kB / 412.6 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/2.48, allocations: 0 / 412.6 MB, free: 7.465 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/2.48, allocations: 4 kB / 412.6 MB, free: 7.461 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.582e-05/2.48, allocations: 7.922 kB / 412.6 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/2.48, allocations: 0 / 412.6 MB, free: 7.453 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005948/2.481, allocations: 31.89 kB / 412.6 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/2.481, allocations: 127.7 kB / 412.8 MB, free: 7.301 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.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.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.0005228/2.482, allocations: 404.9 kB / 413.2 MB, free: 6.879 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001969/2.482, allocations: 86.97 kB / 413.3 MB, free: 6.793 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005696/2.482, allocations: 147.5 kB / 413.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/2.482, allocations: 0 / 413.4 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/2.483, allocations: 4 kB / 413.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/2.483, allocations: 7.938 kB / 413.4 MB, free: 6.645 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/2.486, allocations: 1.459 MB / 414.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/2.486, allocations: 0 / 414.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/2.486, allocations: 0.5 kB / 414.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/2.486, allocations: 0 / 414.9 MB, free: 5.477 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/2.486, allocations: 31.86 kB / 414.9 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/2.486, allocations: 0 / 414.9 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/2.486, allocations: 0 / 414.9 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002072/2.488, allocations: 0.9408 MB / 415.8 MB, free: 4.52 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002111/2.49, allocations: 1.303 MB / 417.1 MB, free: 3.199 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001684/2.492, allocations: 0.5737 MB / 417.7 MB, free: 2.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002985/2.492, allocations: 63.86 kB / 417.8 MB, free: 2.543 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005739/2.493, allocations: 31.98 kB / 417.8 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006631/2.493, allocations: 242.4 kB / 418 MB, free: 2.277 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002338/2.494, allocations: 128 kB / 418.2 MB, free: 2.152 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001913/2.496, allocations: 0.8265 MB / 419 MB, free: 1.332 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001643/2.497, allocations: 104 kB / 419.1 MB, free: 1.23 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,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.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.0003721/2.498, allocations: 180.5 kB / 419.3 MB, free: 1.047 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002155/2.5, allocations: 1.082 MB / 420.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/2.5, allocations: 0 / 420.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001533/2.501, allocations: 0.945 MB / 421.3 MB, free: 14.93 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002035/2.503, allocations: 250.8 kB / 421.5 MB, free: 14.69 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004539/2.508, allocations: 1.715 MB / 423.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/2.509, allocations: 1.053 MB / 424.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/2.509, allocations: 0 / 424.3 MB, free: 11.86 MB / 330.7 MB