Notification: Performance of FrontEnd - loaded program: time 1.885e-05/1.898e-05, allocations: 5.203 kB / 334 MB, free: 10.29 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2326/0.2327, allocations: 44.51 MB / 378.6 MB, free: 75.32 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09786/0.3306, allocations: 77.28 MB / 455.8 MB, free: 9.68 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.3308, allocations: 67.97 kB / 455.9 MB, free: 9.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1429/0.4737, allocations: 37.42 MB / 493.3 MB, free: 4.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.4737, allocations: 7.938 kB / 493.3 MB, free: 4.184 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.536e-05/0.4738, allocations: 12 kB / 493.3 MB, free: 4.172 MB / 350.1 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.001288/0.4751, allocations: 1.012 MB / 494.4 MB, free: 3.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.4751, allocations: 12.03 kB / 494.4 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.4753, allocations: 86.97 kB / 494.5 MB, free: 2.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007053/0.476, allocations: 423.5 kB / 494.9 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.361e-05/0.4761, allocations: 15.98 kB / 494.9 MB, free: 2.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.4762, allocations: 24 kB / 494.9 MB, free: 2.477 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007166/0.477, allocations: 340.2 kB / 495.2 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/0.4786, allocations: 0.4977 MB / 495.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.4786, allocations: 0 / 495.7 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.4788, allocations: 12 kB / 495.7 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.575e-05/0.4788, allocations: 4 kB / 495.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002693/0.4815, allocations: 0.8249 MB / 496.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/0.4828, allocations: 498.4 kB / 497.1 MB, free: 272 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/0.4841, allocations: 492.7 kB / 497.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4842, allocations: 0 / 497.5 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001631/0.4858, allocations: 0.6586 MB / 498.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of pre-optimization done (n=34): time 7.885e-06/0.4858, allocations: 3.984 kB / 498.2 MB, free: 15.08 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.003199/0.4891, allocations: 0.9062 MB / 499.1 MB, free: 14.17 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002876/0.4894, allocations: 275.3 kB / 499.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003127/0.4925, allocations: 0.9917 MB / 0.4886 GB, free: 12.85 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001547/0.4927, allocations: 37.7 kB / 0.4887 GB, free: 12.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000235/0.493, allocations: 154 kB / 0.4888 GB, free: 12.65 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.4932, allocations: 75.11 kB / 0.4889 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.924e-05/0.4933, allocations: 4 kB / 0.4889 GB, free: 12.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002469/0.4936, allocations: 358.8 kB / 0.4892 GB, free: 12.21 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.4948, allocations: 332.2 kB / 0.4896 GB, free: 11.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/0.4959, allocations: 340.5 kB / 0.4899 GB, free: 11.55 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008089/0.4968, allocations: 241.5 kB / 0.4901 GB, free: 11.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.034e-06/0.4968, allocations: 0 / 0.4901 GB, free: 11.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.003205/0.5, allocations: 0.8525 MB / 0.4909 GB, free: 10.46 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003447/0.5004, allocations: 239.9 kB / 0.4912 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.5004, allocations: 3.984 kB / 0.4912 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.5005, allocations: 0 / 0.4912 GB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.395e-05/0.5005, allocations: 7.938 kB / 0.4912 GB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.391e-06/0.5006, allocations: 4 kB / 0.4912 GB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007925/0.5014, allocations: 39.88 kB / 0.4912 GB, free: 10.13 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/0.5018, allocations: 148.2 kB / 0.4914 GB, free: 9.984 MB / 366.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: 40 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGL.dFFR.reset,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (19): * Single equations (assignments): 12 * 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.0007745/0.5026, allocations: 410 kB / 0.4918 GB, free: 9.531 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003122/0.5029, allocations: 87.06 kB / 0.4918 GB, free: 9.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006608/0.5036, allocations: 160.1 kB / 0.492 GB, free: 9.285 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.467e-06/0.5037, allocations: 3.938 kB / 0.492 GB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.527e-06/0.5037, allocations: 0 / 0.492 GB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.09e-06/0.5037, allocations: 0 / 0.492 GB, free: 9.281 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005268/0.509, allocations: 1.63 MB / 0.4936 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.238e-06/0.509, allocations: 0 / 0.4936 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.418e-05/0.5091, allocations: 0 / 0.4936 GB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.584e-05/0.5091, allocations: 4 kB / 0.4936 GB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001682/0.5093, allocations: 39.92 kB / 0.4936 GB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.76e-06/0.5093, allocations: 3.984 kB / 0.4936 GB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.583e-06/0.5093, allocations: 0 / 0.4936 GB, free: 7.559 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005973/0.5153, allocations: 2.188 MB / 0.4958 GB, free: 5.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00215/0.5175, allocations: 0.562 MB / 0.4963 GB, free: 4.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/0.5179, allocations: 55.97 kB / 0.4964 GB, free: 4.68 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008632/0.5188, allocations: 39.88 kB / 0.4964 GB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009297/0.5198, allocations: 235.9 kB / 0.4966 GB, free: 4.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003998/0.5202, allocations: 171.8 kB / 0.4968 GB, free: 4.242 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002779/0.523, allocations: 0.8148 MB / 0.4976 GB, free: 3.43 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.266e-06/0.5231, allocations: 0 / 0.4976 GB, free: 3.43 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001532/0.5246, allocations: 124 kB / 0.4977 GB, free: 3.309 MB / 366.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: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.dFFR.reset,dFFREGL.dFFR.clock,dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.next_assign_val[2]) * Number of discrete states: 32 (data_1.y,reset.y,data_0.y,clock.y,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGL.delay.inertialDelaySensitive[1].x,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGL.delay.inertialDelaySensitive[2].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 6 * 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.0005183/0.5252, allocations: 189.6 kB / 0.4979 GB, free: 3.113 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003685/0.5289, allocations: 1.476 MB / 0.4993 GB, free: 1.551 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.385e-06/0.5289, allocations: 0 / 0.4993 GB, free: 1.551 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002414/0.5313, allocations: 1.093 MB / 0.5004 GB, free: 380 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.5338, allocations: 283.4 kB / 0.5007 GB, free: 100 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006578/0.5404, allocations: 1.943 MB / 0.5026 GB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001731/0.5422, allocations: 1.046 MB / 0.5036 GB, free: 13.04 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003069/0.5425, allocations: 49.73 kB / 0.5036 GB, free: 12.98 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.5426, allocations: 19.38 kB / 0.5037 GB, free: 12.97 MB / 382.1 MB Notification: Performance of SimCode: time 1.715e-06/0.5426, allocations: 0 / 0.5037 GB, free: 12.97 MB / 382.1 MB Notification: Performance of Templates: time 0.1684/0.7111, allocations: 13.07 MB / 0.5164 GB, free: 119.2 MB / 382.1 MB