Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREG,fileNamePrefix="Modelica_3_2_1_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 1.567/1.567, allocations: 171.2 MB / 178.1 MB, free: 8.289 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2186/1.786, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08015/1.866, allocations: 38.76 MB / 258 MB, free: 4.352 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3234/2.19, allocations: 71.95 MB / 330 MB, free: 92 kB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/2.19, allocations: 69.95 kB / 330 MB, free: 56 kB / 266.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.09973/2.29, allocations: 27.01 MB / 357 MB, free: 10.05 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/2.29, allocations: 12 kB / 357.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/2.29, allocations: 86.97 kB / 357.1 MB, free: 9.953 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001027/2.291, allocations: 431.8 kB / 357.6 MB, free: 9.523 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.775e-05/2.291, allocations: 18.47 kB / 357.6 MB, free: 9.508 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/2.291, allocations: 23.25 kB / 357.6 MB, free: 9.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009082/2.292, allocations: 341.9 kB / 357.9 MB, free: 9.254 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/2.293, allocations: 477.1 kB / 358.4 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/2.293, allocations: 0 / 358.4 MB, free: 8.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.702e-05/2.294, allocations: 9.625 kB / 358.4 MB, free: 8.887 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/2.294, allocations: 4 kB / 358.4 MB, free: 8.883 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/2.296, allocations: 0.9087 MB / 359.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/2.297, allocations: 498.7 kB / 359.8 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009423/2.298, allocations: 480.9 kB / 360.3 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/2.298, allocations: 4 kB / 360.3 MB, free: 7.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001105/2.299, allocations: 0.5916 MB / 360.9 MB, free: 6.496 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 6.212e-06/2.299, allocations: 112 / 360.9 MB, free: 6.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.001814/2.301, allocations: 0.7268 MB / 361.6 MB, free: 5.762 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002635/2.301, allocations: 291.2 kB / 361.9 MB, free: 5.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002291/2.304, allocations: 0.98 MB / 362.9 MB, free: 4.43 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001523/2.304, allocations: 37.7 kB / 362.9 MB, free: 4.387 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/2.304, allocations: 121.9 kB / 363 MB, free: 4.266 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/2.304, allocations: 63.27 kB / 363.1 MB, free: 4.203 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/2.304, allocations: 12 kB / 363.1 MB, free: 4.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/2.305, allocations: 346.7 kB / 363.4 MB, free: 3.844 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008107/2.305, allocations: 335.7 kB / 363.8 MB, free: 3.516 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007973/2.306, allocations: 339.7 kB / 364.1 MB, free: 3.184 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005465/2.307, allocations: 243.8 kB / 364.3 MB, free: 2.945 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/2.307, allocations: 0 / 364.3 MB, free: 2.945 MB / 298.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001816/2.309, allocations: 0.6921 MB / 365 MB, free: 2.246 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.841e-05/2.309, allocations: 4 kB / 365 MB, free: 2.242 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/2.309, allocations: 3.906 kB / 365 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/2.309, allocations: 0 / 365 MB, free: 2.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.478e-05/2.309, allocations: 4 kB / 365 MB, free: 2.234 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.343e-06/2.309, allocations: 3.938 kB / 365 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006097/2.309, allocations: 35.88 kB / 365.1 MB, free: 2.195 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002243/2.31, allocations: 123.9 kB / 365.2 MB, free: 2.074 MB / 298.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.0005426/2.31, allocations: 405.9 kB / 365.6 MB, free: 1.629 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/2.31, allocations: 87.06 kB / 365.7 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004869/2.311, allocations: 147.5 kB / 365.8 MB, free: 1.391 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/2.311, allocations: 3.906 kB / 365.8 MB, free: 1.387 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/2.311, allocations: 4 kB / 365.8 MB, free: 1.383 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/2.311, allocations: 4 kB / 365.8 MB, free: 1.379 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002982/2.314, allocations: 1.443 MB / 367.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/2.314, allocations: 0 / 367.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/2.314, allocations: 0 / 367.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/2.314, allocations: 0 / 367.3 MB, free: 15.89 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/2.314, allocations: 31.98 kB / 367.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/2.314, allocations: 0 / 367.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/2.314, allocations: 0 / 367.3 MB, free: 15.86 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001944/2.316, allocations: 0.9199 MB / 368.2 MB, free: 14.92 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002174/2.318, allocations: 1.292 MB / 369.5 MB, free: 13.61 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001511/2.32, allocations: 0.566 MB / 370.1 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003086/2.32, allocations: 59.97 kB / 370.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006846/2.321, allocations: 39.88 kB / 370.2 MB, free: 12.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006687/2.321, allocations: 239.8 kB / 370.4 MB, free: 12.69 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003788/2.322, allocations: 127.9 kB / 370.5 MB, free: 12.56 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.001784/2.324, allocations: 0.8148 MB / 371.4 MB, free: 11.75 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001642/2.325, allocations: 104 kB / 371.5 MB, free: 11.65 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.0003884/2.326, allocations: 192.4 kB / 371.6 MB, free: 11.45 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002212/2.328, allocations: 1.066 MB / 372.7 MB, free: 10.35 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/2.328, allocations: 4 kB / 372.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001609/2.33, allocations: 0.9454 MB / 373.7 MB, free: 9.355 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002011/2.332, allocations: 259.3 kB / 373.9 MB, free: 9.102 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004416/2.336, allocations: 1.696 MB / 375.6 MB, free: 7.375 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00142/2.338, allocations: 1.045 MB / 376.7 MB, free: 6.301 MB / 314.7 MB Notification: Performance of SimCode: time 1.233e-06/2.338, allocations: 0 / 376.7 MB, free: 6.301 MB / 314.7 MB