Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGSRL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DLATREGSRL",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.842/1.842, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2242/2.066, allocations: 46.82 MB / 249.3 MB, free: 5.316 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09435/2.161, allocations: 44.51 MB / 293.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2882/2.449, allocations: 77.32 MB / 371.2 MB, free: 7.082 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/2.449, allocations: 71.31 kB / 371.2 MB, free: 7.078 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.1274/2.577, allocations: 39.24 MB / 410.5 MB, free: 8.59 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.293e-05/2.577, allocations: 8 kB / 410.5 MB, free: 8.582 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007094/2.578, allocations: 134.4 kB / 410.6 MB, free: 8.449 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/2.58, allocations: 0.5195 MB / 411.1 MB, free: 7.945 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001599/2.58, allocations: 27.7 kB / 411.2 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/2.58, allocations: 27.98 kB / 411.2 MB, free: 7.895 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00195/2.582, allocations: 460.5 kB / 411.6 MB, free: 7.582 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/2.585, allocations: 0.6099 MB / 412.2 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.243e-05/2.585, allocations: 0 / 412.2 MB, free: 7.113 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/2.586, allocations: 12 kB / 412.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/2.586, allocations: 4 kB / 412.3 MB, free: 7.098 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005396/2.591, allocations: 1.157 MB / 413.4 MB, free: 6.152 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002187/2.593, allocations: 0.6904 MB / 414.1 MB, free: 5.758 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002183/2.596, allocations: 0.6776 MB / 414.8 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/2.596, allocations: 3.938 kB / 414.8 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002634/2.598, allocations: 0.7129 MB / 415.5 MB, free: 4.773 MB / 314.7 MB Notification: Performance of pre-optimization done (n=33): time 6.141e-06/2.598, allocations: 0 / 415.5 MB, free: 4.773 MB / 314.7 MB Notification: Performance of matching and sorting (n=33): time 0.004274/2.603, allocations: 0.9435 MB / 416.4 MB, free: 4.035 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005419/2.603, allocations: 335.2 kB / 416.8 MB, free: 3.668 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007505/2.611, allocations: 1.577 MB / 418.4 MB, free: 2.293 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003524/2.611, allocations: 37.7 kB / 418.4 MB, free: 2.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003997/2.612, allocations: 158.4 kB / 418.5 MB, free: 2.09 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000373/2.612, allocations: 71.17 kB / 418.6 MB, free: 2.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/2.612, allocations: 12 kB / 418.6 MB, free: 2.008 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0004868/2.613, allocations: 390.6 kB / 419 MB, free: 1.617 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/2.615, allocations: 447.8 kB / 419.4 MB, free: 1.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/2.617, allocations: 455.8 kB / 419.9 MB, free: 0.7344 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/2.618, allocations: 303.4 kB / 420.2 MB, free: 448 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.043e-05/2.619, allocations: 7.938 kB / 420.2 MB, free: 440 kB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.004023/2.623, allocations: 0.8987 MB / 421.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/2.623, allocations: 10.19 kB / 421.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/2.623, allocations: 0 / 421.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.722e-05/2.623, allocations: 0 / 421.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.05e-05/2.623, allocations: 0 / 421.1 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/2.623, allocations: 4 kB / 421.1 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/2.624, allocations: 47.75 kB / 421.2 MB, free: 15.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004431/2.625, allocations: 128.2 kB / 421.3 MB, free: 15.34 MB / 330.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.dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.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.001023/2.626, allocations: 463.1 kB / 421.7 MB, free: 14.84 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004765/2.626, allocations: 134.4 kB / 421.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/2.628, allocations: 247.9 kB / 422.1 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.336e-06/2.628, allocations: 4 kB / 422.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/2.628, allocations: 4 kB / 422.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/2.628, allocations: 0 / 422.1 MB, free: 14.45 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0077/2.635, allocations: 1.872 MB / 424 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.168e-06/2.635, allocations: 0 / 424 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.305e-05/2.635, allocations: 3.938 kB / 424 MB, free: 12.53 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.43e-05/2.635, allocations: 4 kB / 424 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002963/2.636, allocations: 31.98 kB / 424 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/2.636, allocations: 0 / 424 MB, free: 12.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/2.636, allocations: 7.906 kB / 424 MB, free: 12.48 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004004/2.64, allocations: 1.129 MB / 425.2 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004436/2.644, allocations: 1.53 MB / 426.7 MB, free: 9.785 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003534/2.648, allocations: 0.6973 MB / 427.4 MB, free: 9.066 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005408/2.649, allocations: 63.95 kB / 427.4 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/2.65, allocations: 43.88 kB / 427.5 MB, free: 8.961 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00158/2.651, allocations: 379.6 kB / 427.9 MB, free: 8.59 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004559/2.652, allocations: 143.9 kB / 428 MB, free: 8.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 0.005431/2.657, allocations: 1.275 MB / 429.3 MB, free: 7.172 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003105/2.66, allocations: 132 kB / 429.4 MB, free: 7.043 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,dLATREGSRL.delay.inertialDelaySensitive[1].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRL.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.0008677/2.661, allocations: 185.7 kB / 429.6 MB, free: 6.852 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005391/2.667, allocations: 1.435 MB / 431 MB, free: 5.367 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/2.667, allocations: 0 / 431 MB, free: 5.367 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003102/2.67, allocations: 1.22 MB / 432.2 MB, free: 4.098 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/2.673, allocations: 296.4 kB / 432.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01055/2.684, allocations: 2.519 MB / 435.1 MB, free: 1.254 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00216/2.686, allocations: 1.234 MB / 436.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.342e-06/2.686, allocations: 4 kB / 436.3 MB, free: 15.98 MB / 346.7 MB