Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGSRL,fileNamePrefix="Modelica_3_2_1_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.606/1.606, allocations: 171.2 MB / 178.2 MB, free: 6.715 MB / 147.1 MB Notification: Performance of FrontEnd - loaded program: time 0.119/1.725, allocations: 41.09 MB / 219.2 MB, free: 13.55 MB / 195.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2124/1.938, allocations: 38.77 MB / 258 MB, free: 5.199 MB / 211.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1401/2.078, allocations: 72.01 MB / 330 MB, free: 13.08 MB / 291.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/2.078, allocations: 71.95 kB / 330.1 MB, free: 13.01 MB / 291.1 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.2688/2.347, allocations: 38.26 MB / 368.3 MB, free: 60.87 MB / 291.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/2.347, allocations: 8 kB / 368.4 MB, free: 60.86 MB / 291.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000289/2.348, allocations: 130.4 kB / 368.5 MB, free: 60.73 MB / 291.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/2.349, allocations: 0.5173 MB / 369 MB, free: 60.17 MB / 291.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.418e-05/2.349, allocations: 23.98 kB / 369 MB, free: 60.14 MB / 291.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/2.349, allocations: 20 kB / 369 MB, free: 60.12 MB / 291.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009799/2.35, allocations: 463.7 kB / 369.5 MB, free: 59.67 MB / 291.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/2.351, allocations: 0.5914 MB / 370.1 MB, free: 59.07 MB / 291.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/2.351, allocations: 0 / 370.1 MB, free: 59.07 MB / 291.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.636e-05/2.351, allocations: 16 kB / 370.1 MB, free: 59.06 MB / 291.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/2.351, allocations: 0 / 370.1 MB, free: 59.06 MB / 291.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002675/2.354, allocations: 1.117 MB / 371.2 MB, free: 57.9 MB / 291.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001124/2.355, allocations: 0.6781 MB / 371.9 MB, free: 57.21 MB / 291.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/2.356, allocations: 0.6765 MB / 372.6 MB, free: 56.54 MB / 291.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/2.356, allocations: 3.938 kB / 372.6 MB, free: 56.53 MB / 291.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/2.357, allocations: 0.6979 MB / 373.3 MB, free: 55.79 MB / 291.1 MB Notification: Performance of pre-optimization done (n=33): time 3.156e-06/2.357, allocations: 4 kB / 373.3 MB, free: 55.79 MB / 291.1 MB Notification: Performance of matching and sorting (n=33): time 0.002761/2.36, allocations: 0.944 MB / 374.2 MB, free: 54.84 MB / 291.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003342/2.361, allocations: 329 kB / 374.5 MB, free: 54.46 MB / 291.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00554/2.366, allocations: 1.414 MB / 376 MB, free: 53.03 MB / 291.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003299/2.367, allocations: 41.7 kB / 376 MB, free: 52.98 MB / 291.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002255/2.367, allocations: 146.5 kB / 376.1 MB, free: 52.84 MB / 291.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002958/2.367, allocations: 71.17 kB / 376.2 MB, free: 52.77 MB / 291.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001538/2.367, allocations: 12 kB / 376.2 MB, free: 52.75 MB / 291.1 MB Notification: Performance of setup shared object (initialization): time 0.0002126/2.367, allocations: 374.8 kB / 376.6 MB, free: 52.38 MB / 291.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001423/2.369, allocations: 443.8 kB / 377 MB, free: 51.95 MB / 291.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/2.371, allocations: 439.8 kB / 377.5 MB, free: 51.52 MB / 291.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009761/2.372, allocations: 295.9 kB / 377.7 MB, free: 51.23 MB / 291.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/2.372, allocations: 0 / 377.7 MB, free: 51.23 MB / 291.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002798/2.374, allocations: 0.8828 MB / 378.6 MB, free: 50.34 MB / 291.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.722e-05/2.375, allocations: 4 kB / 378.6 MB, free: 50.33 MB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.291e-05/2.375, allocations: 0 / 378.6 MB, free: 50.33 MB / 291.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.079e-05/2.375, allocations: 3.984 kB / 378.6 MB, free: 50.33 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.008e-05/2.375, allocations: 19.86 kB / 378.7 MB, free: 50.31 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/2.375, allocations: 3.938 kB / 378.7 MB, free: 50.3 MB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001051/2.376, allocations: 51.81 kB / 378.7 MB, free: 50.25 MB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003335/2.376, allocations: 122.8 kB / 378.8 MB, free: 50.14 MB / 291.1 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.0007801/2.377, allocations: 443.8 kB / 379.3 MB, free: 49.65 MB / 291.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005037/2.377, allocations: 134.4 kB / 379.4 MB, free: 49.52 MB / 291.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/2.379, allocations: 204.1 kB / 379.6 MB, free: 49.32 MB / 291.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/2.379, allocations: 0 / 379.6 MB, free: 49.32 MB / 291.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/2.379, allocations: 0 / 379.6 MB, free: 49.32 MB / 291.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/2.379, allocations: 4 kB / 379.6 MB, free: 49.31 MB / 291.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004394/2.384, allocations: 1.775 MB / 381.4 MB, free: 47.49 MB / 291.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.693e-06/2.384, allocations: 0 / 381.4 MB, free: 47.49 MB / 291.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.85e-05/2.384, allocations: 0 / 381.4 MB, free: 47.49 MB / 291.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/2.384, allocations: 0 / 381.4 MB, free: 47.49 MB / 291.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001152/2.384, allocations: 39.97 kB / 381.4 MB, free: 47.45 MB / 291.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/2.384, allocations: 8 kB / 381.4 MB, free: 47.44 MB / 291.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/2.384, allocations: 0 / 381.4 MB, free: 47.44 MB / 291.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002148/2.386, allocations: 1.125 MB / 382.5 MB, free: 46.3 MB / 291.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002201/2.388, allocations: 1.516 MB / 384.1 MB, free: 44.76 MB / 291.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001746/2.39, allocations: 0.6747 MB / 384.7 MB, free: 44.06 MB / 291.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003239/2.39, allocations: 59.97 kB / 384.8 MB, free: 44 MB / 291.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006436/2.391, allocations: 35.97 kB / 384.8 MB, free: 43.97 MB / 291.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001056/2.392, allocations: 387.5 kB / 385.2 MB, free: 43.59 MB / 291.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003436/2.392, allocations: 136.2 kB / 385.3 MB, free: 43.46 MB / 291.1 MB Notification: Performance of sort global known variables: time 0.002611/2.395, allocations: 1.154 MB / 386.5 MB, free: 42.3 MB / 291.1 MB Notification: Performance of remove unused functions: time 0.001804/2.397, allocations: 139.9 kB / 386.6 MB, free: 42.16 MB / 291.1 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.0003799/2.397, allocations: 189.7 kB / 386.8 MB, free: 41.96 MB / 291.1 MB Notification: Performance of simCode: created initialization part: time 0.002858/2.4, allocations: 1.419 MB / 388.2 MB, free: 40.5 MB / 291.1 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/2.4, allocations: 0 / 388.2 MB, free: 40.5 MB / 291.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00171/2.402, allocations: 1.216 MB / 389.4 MB, free: 39.23 MB / 291.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002199/2.404, allocations: 289.4 kB / 389.7 MB, free: 38.95 MB / 291.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005355/2.41, allocations: 2.349 MB / 392.1 MB, free: 36.57 MB / 291.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001223/2.411, allocations: 1.203 MB / 393.3 MB, free: 35.34 MB / 291.1 MB Notification: Performance of SimCode: time 1.683e-06/2.411, allocations: 0 / 393.3 MB, free: 35.34 MB / 291.1 MB