Notification: Performance of FrontEnd - loaded program: time 3.239e-05/3.254e-05, allocations: 4 kB / 334.3 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3036, allocations: 44.51 MB / 378.8 MB, free: 75.58 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.162/0.4657, allocations: 77.54 MB / 456.4 MB, free: 9.379 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.466, allocations: 67.97 kB / 456.4 MB, free: 9.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2092/0.6753, allocations: 32.6 MB / 489 MB, free: 8.707 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.238e-06/0.6753, allocations: 0 / 489 MB, free: 8.707 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.547e-05/0.6754, allocations: 12 kB / 489 MB, free: 8.695 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.002329/0.6777, allocations: 1.296 MB / 490.3 MB, free: 7.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.6778, allocations: 16.03 kB / 490.3 MB, free: 7.285 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004327/0.6782, allocations: 130.4 kB / 490.5 MB, free: 7.156 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001403/0.6797, allocations: 0.509 MB / 491 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.16e-05/0.6798, allocations: 19.98 kB / 491 MB, free: 6.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001724/0.68, allocations: 24 kB / 491 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001301/0.6813, allocations: 444.6 kB / 491.5 MB, free: 6.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001349/0.6827, allocations: 0.5871 MB / 492 MB, free: 5.527 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.897e-05/0.6827, allocations: 3.953 kB / 492 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001243/0.6829, allocations: 19.98 kB / 492.1 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.6829, allocations: 4 kB / 492.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00297/0.6859, allocations: 1.047 MB / 493.1 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/0.6874, allocations: 0.6664 MB / 493.8 MB, free: 3.734 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001124/0.6885, allocations: 0.6725 MB / 494.5 MB, free: 3.059 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.6886, allocations: 7.938 kB / 494.5 MB, free: 3.051 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.6899, allocations: 0.7515 MB / 495.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 4.592e-06/0.6899, allocations: 0 / 495.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.002353/0.6922, allocations: 1.101 MB / 496.3 MB, free: 1.152 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002669/0.6925, allocations: 325 kB / 496.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/0.6959, allocations: 1.538 MB / 498.2 MB, free: 15.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002085/0.6962, allocations: 45.69 kB / 498.2 MB, free: 15.17 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.6965, allocations: 230.4 kB / 498.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/0.6967, allocations: 79.16 kB / 498.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.431e-05/0.6968, allocations: 12 kB / 498.5 MB, free: 14.85 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002467/0.697, allocations: 378.7 kB / 498.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008243/0.6979, allocations: 439.9 kB / 499.3 MB, free: 14.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/0.6987, allocations: 439.9 kB / 499.8 MB, free: 13.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005469/0.6993, allocations: 303.9 kB / 0.4883 GB, free: 13.31 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.6993, allocations: 0 / 0.4883 GB, free: 13.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002246/0.7016, allocations: 1.025 MB / 0.4893 GB, free: 12.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003608/0.7019, allocations: 289.5 kB / 0.4896 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.385e-06/0.702, allocations: 3.938 kB / 0.4896 GB, free: 11.95 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.702, allocations: 4 kB / 0.4896 GB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.904e-05/0.702, allocations: 0 / 0.4896 GB, free: 11.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.87e-06/0.7021, allocations: 7.938 kB / 0.4896 GB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005503/0.7026, allocations: 43.95 kB / 0.4897 GB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002414/0.7029, allocations: 159.9 kB / 0.4898 GB, free: 11.73 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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * 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.0005715/0.7035, allocations: 462.4 kB / 0.4903 GB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002429/0.7037, allocations: 130.4 kB / 0.4904 GB, free: 11.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007805/0.7045, allocations: 248 kB / 0.4906 GB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.628e-06/0.7045, allocations: 7.938 kB / 0.4906 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.383e-06/0.7046, allocations: 0 / 0.4906 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.337e-06/0.7046, allocations: 3.984 kB / 0.4906 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003935/0.7085, allocations: 2.01 MB / 0.4926 GB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.387e-06/0.7086, allocations: 0 / 0.4926 GB, free: 8.781 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.366e-05/0.7086, allocations: 3.938 kB / 0.4926 GB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.248e-06/0.7086, allocations: 0 / 0.4926 GB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001114/0.7087, allocations: 39.97 kB / 0.4926 GB, free: 8.738 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.228e-06/0.7088, allocations: 4 kB / 0.4926 GB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.252e-06/0.7088, allocations: 0 / 0.4926 GB, free: 8.734 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004125/0.7129, allocations: 2.584 MB / 0.4952 GB, free: 6.094 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001652/0.7146, allocations: 0.6786 MB / 0.4958 GB, free: 5.395 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002566/0.7149, allocations: 59.97 kB / 0.4959 GB, free: 5.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005109/0.7154, allocations: 39.88 kB / 0.4959 GB, free: 5.297 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007367/0.7162, allocations: 355.6 kB / 0.4963 GB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/0.7164, allocations: 159.9 kB / 0.4964 GB, free: 4.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.002604/0.719, allocations: 1.259 MB / 0.4976 GB, free: 3.531 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.53e-07/0.7191, allocations: 0 / 0.4976 GB, free: 3.531 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001016/0.7201, allocations: 147.9 kB / 0.4978 GB, free: 3.387 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * 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.0003466/0.7204, allocations: 197.6 kB / 0.498 GB, free: 3.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00264/0.7231, allocations: 1.87 MB / 0.4998 GB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.789e-06/0.7231, allocations: 0 / 0.4998 GB, free: 1.211 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.7248, allocations: 1.374 MB / 0.5011 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.7263, allocations: 297.7 kB / 0.5014 GB, free: 15.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005386/0.7317, allocations: 2.71 MB / 0.5041 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001453/0.7332, allocations: 1.22 MB / 0.5053 GB, free: 11.43 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004052/0.7336, allocations: 159 kB / 0.5054 GB, free: 11.28 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.7337, allocations: 31.44 kB / 0.5054 GB, free: 11.25 MB / 382.1 MB Notification: Performance of SimCode: time 1.297e-06/0.7337, allocations: 0 / 0.5054 GB, free: 11.25 MB / 382.1 MB Notification: Performance of Templates: time 0.214/0.9477, allocations: 15.78 MB / 0.5209 GB, free: 115.4 MB / 382.1 MB