Running command: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGSRH,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Digital_Examples_DLATREGSRH",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.636/1.636, allocations: 171.2 MB / 178.1 MB, free: 8.328 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.206/1.842, allocations: 41.11 MB / 219.2 MB, free: 11.2 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08464/1.927, allocations: 38.76 MB / 258 MB, free: 4.367 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2891/2.216, allocations: 72.28 MB / 330.3 MB, free: 15.73 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/2.216, allocations: 69.28 kB / 330.4 MB, free: 15.69 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.1049/2.321, allocations: 30.67 MB / 361 MB, free: 6.461 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/2.321, allocations: 12 kB / 361 MB, free: 6.449 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003099/2.322, allocations: 130.4 kB / 361.2 MB, free: 6.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001217/2.323, allocations: 0.5327 MB / 361.7 MB, free: 5.738 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.41e-05/2.323, allocations: 12 kB / 361.7 MB, free: 5.727 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/2.323, allocations: 28 kB / 361.7 MB, free: 5.699 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001172/2.324, allocations: 463.7 kB / 362.2 MB, free: 5.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001749/2.326, allocations: 0.595 MB / 362.8 MB, free: 4.645 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/2.326, allocations: 7.844 kB / 362.8 MB, free: 4.637 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/2.326, allocations: 19.98 kB / 362.8 MB, free: 4.617 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/2.326, allocations: 0 / 362.8 MB, free: 4.617 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003064/2.329, allocations: 1.102 MB / 363.9 MB, free: 3.473 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/2.331, allocations: 0.6858 MB / 364.6 MB, free: 2.777 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001365/2.332, allocations: 0.6686 MB / 365.3 MB, free: 2.105 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.043e-05/2.332, allocations: 7.984 kB / 365.3 MB, free: 2.098 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001445/2.334, allocations: 0.6978 MB / 366 MB, free: 1.359 MB / 298.7 MB Notification: Performance of pre-optimization done (n=33): time 3.457e-06/2.334, allocations: 4 kB / 366 MB, free: 1.355 MB / 298.7 MB Notification: Performance of matching and sorting (n=33): time 0.002332/2.336, allocations: 0.9402 MB / 366.9 MB, free: 420 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002926/2.337, allocations: 325 kB / 367.2 MB, free: 32 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003397/2.34, allocations: 1.407 MB / 368.6 MB, free: 14.61 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002636/2.34, allocations: 45.69 kB / 368.7 MB, free: 14.56 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000169/2.34, allocations: 146.4 kB / 368.8 MB, free: 14.41 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/2.341, allocations: 75.11 kB / 368.9 MB, free: 14.34 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.055e-05/2.341, allocations: 15.98 kB / 368.9 MB, free: 14.32 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002367/2.341, allocations: 370.8 kB / 369.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001133/2.342, allocations: 439.8 kB / 369.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/2.343, allocations: 451.8 kB / 370.2 MB, free: 13.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006692/2.344, allocations: 287.9 kB / 370.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.668e-06/2.344, allocations: 0 / 370.4 MB, free: 12.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.003074/2.347, allocations: 0.8831 MB / 371.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.779e-05/2.347, allocations: 4.109 kB / 371.3 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/2.347, allocations: 3.938 kB / 371.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.234e-05/2.347, allocations: 3.906 kB / 371.3 MB, free: 11.9 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.65e-05/2.347, allocations: 7.938 kB / 371.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/2.347, allocations: 4 kB / 371.3 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009903/2.348, allocations: 43.86 kB / 371.4 MB, free: 11.84 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000344/2.349, allocations: 120.2 kB / 371.5 MB, free: 11.73 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: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.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.0009078/2.35, allocations: 451.8 kB / 371.9 MB, free: 11.23 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/2.35, allocations: 138.4 kB / 372.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/2.351, allocations: 204.1 kB / 372.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.606e-05/2.351, allocations: 0 / 372.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/2.351, allocations: 3.938 kB / 372.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/2.351, allocations: 0 / 372.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004325/2.356, allocations: 1.783 MB / 374.1 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/2.356, allocations: 0 / 374.1 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.921e-05/2.356, allocations: 0 / 374.1 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/2.356, allocations: 0 / 374.1 MB, free: 9.055 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001272/2.356, allocations: 43.97 kB / 374.1 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.8e-06/2.356, allocations: 0 / 374.1 MB, free: 9.012 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/2.356, allocations: 3.938 kB / 374.1 MB, free: 9.008 MB / 314.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002588/2.358, allocations: 1.128 MB / 375.2 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00291/2.361, allocations: 1.504 MB / 376.7 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002285/2.364, allocations: 0.6708 MB / 377.4 MB, free: 5.641 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003548/2.364, allocations: 59.95 kB / 377.5 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006834/2.365, allocations: 47.89 kB / 377.5 MB, free: 5.535 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00109/2.366, allocations: 383.6 kB / 377.9 MB, free: 5.16 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000297/2.366, allocations: 135.9 kB / 378 MB, free: 5.027 MB / 314.7 MB Notification: Performance of sort global known variables: time 0.003072/2.369, allocations: 1.162 MB / 379.2 MB, free: 3.863 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001842/2.371, allocations: 139.9 kB / 379.3 MB, free: 3.727 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: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRH.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.0004223/2.372, allocations: 169.7 kB / 379.5 MB, free: 3.551 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002876/2.375, allocations: 1.423 MB / 380.9 MB, free: 2.078 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/2.375, allocations: 0 / 380.9 MB, free: 2.078 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002192/2.377, allocations: 1.216 MB / 382.1 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/2.379, allocations: 288.5 kB / 382.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006622/2.386, allocations: 2.356 MB / 384.8 MB, free: 14.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001577/2.387, allocations: 1.195 MB / 386 MB, free: 12.92 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/2.387, allocations: 4 kB / 386 MB, free: 12.91 MB / 330.7 MB