Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_3_2_1_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.657/1.657, allocations: 171.2 MB / 178.1 MB, free: 8.32 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2017/1.858, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08768/1.946, allocations: 38.76 MB / 258 MB, free: 4.363 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2588/2.205, allocations: 72 MB / 330 MB, free: 12 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003199/2.205, allocations: 65.59 kB / 330.1 MB, free: 15.98 MB / 282.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.1432/2.349, allocations: 33.48 MB / 363.5 MB, free: 3.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/2.349, allocations: 8 kB / 363.6 MB, free: 3.922 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003515/2.349, allocations: 90.95 kB / 363.6 MB, free: 3.832 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/2.351, allocations: 423.7 kB / 364.1 MB, free: 3.379 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.607e-05/2.351, allocations: 12 kB / 364.1 MB, free: 3.367 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000196/2.351, allocations: 20 kB / 364.1 MB, free: 3.348 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001491/2.352, allocations: 348.2 kB / 364.4 MB, free: 3.004 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001973/2.354, allocations: 482.2 kB / 364.9 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/2.354, allocations: 4 kB / 364.9 MB, free: 2.523 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001739/2.355, allocations: 8 kB / 364.9 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/2.355, allocations: 0 / 364.9 MB, free: 2.516 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004552/2.359, allocations: 0.9264 MB / 365.8 MB, free: 1.551 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001719/2.361, allocations: 490.7 kB / 366.3 MB, free: 1.059 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/2.363, allocations: 488.8 kB / 366.8 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/2.363, allocations: 0 / 366.8 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001739/2.365, allocations: 0.5839 MB / 367.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 4.028e-06/2.365, allocations: 0 / 367.4 MB, free: 15.95 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.002035/2.367, allocations: 0.7269 MB / 368.1 MB, free: 15.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002626/2.367, allocations: 283.3 kB / 368.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/2.369, allocations: 0.9801 MB / 369.4 MB, free: 13.89 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001858/2.37, allocations: 41.69 kB / 369.4 MB, free: 13.85 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/2.37, allocations: 114 kB / 369.5 MB, free: 13.73 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/2.37, allocations: 71.11 kB / 369.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.494e-05/2.37, allocations: 11.98 kB / 369.6 MB, free: 13.65 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001894/2.37, allocations: 338.8 kB / 369.9 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008388/2.371, allocations: 343.7 kB / 370.3 MB, free: 12.98 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008029/2.372, allocations: 339.8 kB / 370.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005567/2.373, allocations: 239.8 kB / 370.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/2.373, allocations: 3.938 kB / 370.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001797/2.374, allocations: 0.6997 MB / 371.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/2.374, allocations: 4 kB / 371.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/2.374, allocations: 0 / 371.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/2.374, allocations: 0 / 371.5 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.737e-05/2.375, allocations: 11.94 kB / 371.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/2.375, allocations: 0 / 371.5 MB, free: 11.69 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006113/2.375, allocations: 35.88 kB / 371.6 MB, free: 11.65 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002442/2.375, allocations: 119.9 kB / 371.7 MB, free: 11.54 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.0006481/2.376, allocations: 410 kB / 372.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002556/2.376, allocations: 87.06 kB / 372.2 MB, free: 11 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005763/2.377, allocations: 143.5 kB / 372.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/2.377, allocations: 4 kB / 372.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/2.377, allocations: 0 / 372.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/2.377, allocations: 0 / 372.3 MB, free: 10.85 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003581/2.381, allocations: 1.443 MB / 373.8 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.722e-06/2.381, allocations: 0 / 373.8 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.981e-05/2.381, allocations: 0 / 373.8 MB, free: 9.359 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.111e-05/2.381, allocations: 3.906 kB / 373.8 MB, free: 9.355 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/2.381, allocations: 31.98 kB / 373.8 MB, free: 9.324 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.502e-06/2.381, allocations: 4 kB / 373.8 MB, free: 9.32 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/2.381, allocations: 4 kB / 373.8 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002092/2.383, allocations: 0.912 MB / 374.7 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002302/2.385, allocations: 1.292 MB / 376 MB, free: 7.074 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/2.387, allocations: 0.5698 MB / 376.6 MB, free: 6.484 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003437/2.388, allocations: 63.95 kB / 376.7 MB, free: 6.422 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005963/2.388, allocations: 27.97 kB / 376.7 MB, free: 6.395 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006942/2.389, allocations: 243.7 kB / 376.9 MB, free: 6.156 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/2.389, allocations: 131.9 kB / 377 MB, free: 6.027 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.002345/2.392, allocations: 0.8226 MB / 377.9 MB, free: 5.211 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00244/2.394, allocations: 104 kB / 378 MB, free: 5.109 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.0004806/2.395, allocations: 180.5 kB / 378.1 MB, free: 4.922 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002464/2.397, allocations: 1.058 MB / 379.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/2.397, allocations: 0 / 379.2 MB, free: 3.82 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001774/2.399, allocations: 0.9493 MB / 380.2 MB, free: 2.828 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/2.401, allocations: 259.1 kB / 380.4 MB, free: 2.57 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004911/2.406, allocations: 1.696 MB / 382.1 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/2.407, allocations: 1.045 MB / 383.1 MB, free: 15.78 MB / 330.7 MB Notification: Performance of SimCode: time 1.703e-06/2.407, allocations: 0 / 383.1 MB, free: 15.78 MB / 330.7 MB